Commit graph

455 commits

Author SHA1 Message Date
theoreticalbts
3a7e65c888 chain_property_object: Implement chain_property_object as container for unchangeable properties set at genesis #238 2015-08-17 13:38:35 -04:00
Eric Frias
ab7fcb9b4a Win32 build fixes 2015-08-17 12:39:26 -04:00
Daniel Larimer
bf47a1610c Merge branch 'master' of github.com:cryptonomex/graphene 2015-08-14 17:56:27 -04:00
Daniel Larimer
c0c36ca639 votable objects now keep track of their most recent vote count 2015-08-14 17:56:21 -04:00
Vikram Rajkumar
be55df25d0 Initial work on BTS1 key import in CLI wallet 2015-08-14 17:06:29 -04:00
Nathan Hourt
f3a044d963 [FWN] It seems to work now... 2015-08-14 15:28:24 -04:00
Vikram Rajkumar
d324a78809 Update BTS1 key import format 2015-08-14 12:43:12 -04:00
Vikram Rajkumar
1d633a508a Update submodules 2015-08-14 12:26:09 -04:00
theoreticalbts
ce624827f6 Include smart_ref_impl.hpp when dereferencing smart_ref #231 2015-08-13 14:28:54 -04:00
Daniel Larimer
25ceb9a277 return vote objects with full_account query 2015-08-13 09:29:16 -04:00
Daniel Larimer
80602a1f7b adding api to query vote objects by id 2015-08-13 09:22:05 -04:00
theoreticalbts
96fb8f60c2 fee_tests.cpp: Make sure validation actually enforces nonzero fees 2015-08-12 14:26:48 -04:00
theoreticalbts
dffd010e8a Implement and expose get_config() to allow API access to compile constants #229 2015-08-11 15:22:12 -04:00
theoreticalbts
f6c99f96b7 genesis_state.hpp: Specify definite size for initial_active_witnesses 2015-08-11 15:22:12 -04:00
theoreticalbts
3eedabbac2 Compute scaled precision at compile time, use in tests (fixes failures by prev commit) 2015-08-11 15:04:48 -04:00
theoreticalbts
44c174ad4a config.hpp: Remove CORE constant 2015-08-11 13:14:57 -04:00
Nathan Hourt
a4e5a03973 Resolve #161: Fix account creation fee scaling 2015-08-10 16:39:09 -04:00
Vikram Rajkumar
84078831e9 Update submodules; #226 2015-08-10 13:14:25 -04:00
theoreticalbts
f6a13a19f0 wallet.cpp: Put chain_id in wallet_data 2015-08-07 16:45:53 -04:00
theoreticalbts
4d8033443c application.cpp: Use egenesis instead of create_example_genesis() 2015-08-07 16:45:53 -04:00
theoreticalbts
fa5bbb830f Revert "fix egenesis build by removing it until theretical can fix it"
This reverts commit 274682d431.
2015-08-06 14:53:32 -04:00
theoreticalbts
b8828e52da fc: Add missing read_file_contents() function 2015-08-06 14:50:30 -04:00
Daniel Larimer
274682d431 fix egenesis build by removing it until theretical can fix it 2015-08-06 14:46:56 -04:00
Daniel Larimer
23f485e66f fix build 2015-08-06 14:33:34 -04:00
Daniel Larimer
b6385e2117 Adding API call: get_potential_signatures
This call allows wallets to filter the set of keys that may potentially
sign a transaction prior to calling get_required_signatures to get the
minimum subset.
2015-08-06 13:43:18 -04:00
theoreticalbts
2d1e76aed0 Get rid of chain ID global, move chain_id_type to types.hpp 2015-08-06 12:56:40 -04:00
theoreticalbts
2e9876b557 Implement chain-locked transactions 2015-08-06 12:56:37 -04:00
theoreticalbts
9f9c1e7895 egenesis: Initial implementation of embedded genesis 2015-08-06 12:42:59 -04:00
theoreticalbts
4e3a27156e genesis_state.hpp: Fix missing include 2015-08-06 12:40:53 -04:00
theoreticalbts
c6debcd59c transaction.cpp: Remove no-op 2015-08-06 12:40:53 -04:00
theoreticalbts
c7444f8d4d Implement minimal "make install" command #219 2015-08-06 12:40:53 -04:00
Daniel Larimer
39c05a0b2e adding method to get account by name 2015-08-03 16:22:19 -04:00
Nathan Hourt
99d6450473 [GUI] Implement transaction broadcasting
Still need to set expiration, so none of the transactions I broadcast
work yet... :( Sadly there is no testnet so I can't finish this. Oh well.
I'm sure it'll be much easier on Monday.
2015-07-31 17:56:27 -04:00
Vikram Rajkumar
8a8130f620 Fix genesis init bug; #17 2015-07-31 16:06:26 -04:00
Daniel Larimer
87d3d1a198 Update API and remove SPAM
subscribe_to_objects now returns the initial value of the objects, this
makes it easy for someone to fetch and subscribe in a single atomic step
rather than having to call get and then subscribe which could lead to
some inconsistencies if the object was modified after get but before
subscribe.
2015-07-31 09:53:49 -04:00
Daniel Larimer
39c99fd0a7 Merge branch 'master' of github.com:cryptonomex/graphene 2015-07-30 16:45:18 -04:00
Daniel Larimer
1b260ab37a adding spam to detect bugs 2015-07-30 16:45:14 -04:00
theoreticalbts
9dfb0d9650 Refactor impacted_accounts into app #183 2015-07-30 12:38:59 -04:00
Daniel Larimer
8b0a22d849 Merge branch 'master' of github.com:cryptonomex/graphene 2015-07-30 09:20:51 -04:00
Daniel Larimer
15bcd5e2a7 optionally subscribe to full account 2015-07-30 09:20:49 -04:00
Nathan Hourt
82ea3c1edd [GUI] Add transaction signing
TODO: encrypt the memo (some work to facilitate this is done in this
commit)
2015-07-29 17:56:37 -04:00
Vikram Rajkumar
4d05f09613 Update submodules 2015-07-29 13:53:21 -04:00
theoreticalbts
1b5a7cb213 Implement max_auth_exceeded exception, internal exc framework, small refactor
Refactor tasks:

- Delete obsolete, commented-out implementation of verify_authority
- Make verify_authority_accounts an implementation detail of account_evaluator.cpp
- Create internal_exception macros / header
- Implement max_auth_exceeded and auth_account_not_found exceptions
2015-07-28 17:10:52 -04:00
theoreticalbts
35ab119b26 Fix throwing incorrect exception type 2015-07-28 17:10:52 -04:00
theoreticalbts
36e155bc0c Implement tx_duplicate_sig exception, fix committee_authority test 2015-07-28 17:10:52 -04:00
theoreticalbts
54103da9a8 Implement tx_irrelevant_sig exception, fix assert_op_test 2015-07-28 17:10:52 -04:00
theoreticalbts
5b9cd9122e Implement skip_slots 2015-07-28 11:58:22 -04:00
theoreticalbts
66c8cedf52 db_block.cpp: Assert legal slot_num in generate_block() to match header validation assert 2015-07-28 11:58:22 -04:00
theoreticalbts
0d0be55e10 db_witness_schedule.cpp: Implement genesis as special case in get_slot_time() 2015-07-28 11:58:22 -04:00
theoreticalbts
f80219fd52 Implement maintenance_flag in dynamic_global_properties 2015-07-28 11:58:22 -04:00