Commit graph

144 commits

Author SHA1 Message Date
Daniel Larimer
c8f0ea4abe It now builds #144 2015-07-09 09:56:50 -04:00
Daniel Larimer
786c65d4b4 Merge branch 'master' into fee_refactor 2015-07-09 08:43:45 -04:00
Daniel Larimer
714f6d01f0 progress updating tests #144 2015-07-09 08:22:04 -04:00
Daniel Larimer
fdcf821c41 Progress on #144 - refactoring fee schedule 2015-07-08 18:45:53 -04:00
Vikram Rajkumar
3f6535343d Fix build 2015-07-08 18:10:38 -04:00
Nathan Hourt
d64c9154a7 Progress #17: Lazy load genesis state
This speeds up startup for witness_node when starting on a database
which is already initialized.
2015-07-08 17:39:34 -04:00
theoreticalbts
9c4ac2e064 exceptions: Add some exceptions 2015-07-08 16:48:24 -04:00
theoreticalbts
d4e4854eb6 exceptions: Implement missing_auth exceptions 2015-07-08 14:29:07 -04:00
theoreticalbts
8ff25b813f Begin implementation of new exception framework #113 2015-07-08 13:53:08 -04:00
theoreticalbts
680dadf5b0 database_fixture: Enable verbose output only if --record-assert-trip is passed on command line 2015-07-08 13:53:08 -04:00
theoreticalbts
4229e33525 tests: replace BOOST_REQUIRE_THROW / BOOST_CHECK_THROW with GRAPHENE_*_THROW 2015-07-08 13:53:08 -04:00
theoreticalbts
16db253535 db_fixture.hpp: Implement some macros for exception checking 2015-07-08 13:53:08 -04:00
Nathan Hourt
3d60449c6e Progress #8: Test shorts and force settles 2015-07-07 17:39:45 -04:00
Vikram Rajkumar
9b5bd12c67 Add genesis_state_type::initial_timestamp; #17 2015-07-07 15:37:31 -04:00
Vikram Rajkumar
38956692ee Fix a couple misleading names 2015-07-07 15:06:06 -04:00
Nathan Hourt
e6e7f70ff9 Resolve #98: Finish testing of genesis balances 2015-07-07 13:59:07 -04:00
Nathan Hourt
b134fbe43c Move some unacceptably slow tests to intense_tests
Speeds up chain_tests runs from ~30s to ~5s on my system.
2015-07-07 13:59:07 -04:00
Vikram Rajkumar
68744c9de0 Initialize genesis witnesses with default secret commitment; #17, #23 2015-07-07 12:36:31 -04:00
Daniel Larimer
b1dd41ff3a Refactor get_required_auths on operations 2015-07-07 10:57:01 -04:00
Nathan Hourt
24496932d4 Progress #98: add some vesting genesis balance testing 2015-07-06 17:40:23 -04:00
Nathan Hourt
ab740d6aaa Make memo_test fail if serialization format changes
If this happens, the web guys need to be notified of the new format.
2015-07-06 17:40:23 -04:00
Daniel Larimer
7d6d7066c2 merge 2015-07-06 16:55:28 -04:00
Daniel Larimer
c537e41fcb Merge branch 'master' of github.com:cryptonomex/graphene 2015-07-06 16:50:36 -04:00
theoreticalbts
fcf21683f3 operation_tests2.cpp: Remove extra generate_block() in witness_create test 2015-07-06 15:52:33 -04:00
Daniel Larimer
8ccafe0f03 Refactor fee schedule for extensibility 2015-07-06 14:56:35 -04:00
Nathan Hourt
715d9a71b3 Fix the ~90 tests I just broke, and one I didn't 2015-07-06 14:14:15 -04:00
Nathan Hourt
6ab59f63a7 Resolve #133: allow creation of example genesis json 2015-07-06 14:00:39 -04:00
theoreticalbts
52fd59f0aa basic_tests.cpp: Change BOOST_REQUIRE to BOOST_CHECK in valid_name_test 2015-07-06 13:01:30 -04:00
theoreticalbts
7c30e44dc9 Fix is_valid_name() bugs, make it RFC 1035 compliant, update unit test, fix #15 2015-07-06 13:01:24 -04:00
Eric Frias
423eccf4a4 Win32 compile fixes, no functional changes 2015-07-05 17:58:24 -04:00
Daniel Larimer
c0c6022338 Fix #130 Black Swans Settle at Price Feed 2015-07-03 17:07:24 -04:00
Vikram Rajkumar
4a84892981 Fix build errors 2015-07-02 13:04:28 -04:00
Daniel Larimer
68fabe1464 Progress #127 - importing balances 2015-07-02 11:18:52 -04:00
Daniel Larimer
fefa0f65f8 Issue #106 - Removing KeyObject
- this is a major refactor of the code and may have broken some behavior
in the wallet or witness nodes.
- this commit changes the serialization of operations
- the chain_tests pass
2015-07-02 01:52:45 -04:00
Nathan Hourt
66c9606652 Progress #17: Add assets, initial witness count to genesis state 2015-07-01 17:18:53 -04:00
Daniel Larimer
ae80339362 #82 Add more riggirous invariant checks 2015-07-01 17:10:19 -04:00
Daniel Larimer
cc767bbc7e Resolve #103 - Implement issuer override tests 2015-07-01 16:57:22 -04:00
Daniel Larimer
2257e5da6c #108 Rename Burn to Reserve 2015-07-01 14:43:17 -04:00
Daniel Larimer
683fb6fe32 Merge branch 'master' of github.com:cryptonomex/graphene 2015-07-01 14:05:48 -04:00
Daniel Larimer
4bbaad02a7 Progress on Burn, Reserve, Issue, Retire #108 2015-07-01 14:05:42 -04:00
Nathan Hourt
f29eaa92e2 Fix all outstanding unexpected test failures 2015-07-01 13:53:07 -04:00
Nathan Hourt
5f5d819a1f Progress #98: Add public key to balance_claim_operation 2015-07-01 12:10:21 -04:00
Nathan Hourt
1c8e31c34a Fix 2 of the failing tests 2015-07-01 12:10:20 -04:00
theoreticalbts
f46758e97c block_tests: Implement tapos_rollover test 2015-06-30 17:07:21 -04:00
Nathan Hourt
c530867933 Progress #17
- Add initial support for vesting genesis balances
- Add owner/active keys to genesis accounts
- Cleanup circa balance_object and evaluator
2015-06-30 17:05:17 -04:00
Daniel Larimer
a05a13b20e Merge branch 'master' of github.com:cryptonomex/graphene 2015-06-30 15:13:23 -04:00
Daniel Larimer
e161e5a9fc Issues #112 Verifying all signatures are used
- refactor how signatures are stored on the transaction, removing key_id
and extra_signatures maps and replacing with a vector
- verify that each key only signs one time
- update tests to handle stricter policies on signatures
2015-06-30 15:11:26 -04:00
Nathan Hourt
e3f5e2cf8d Resolve #104: Set minimum feeds on bitassets 2015-06-30 11:59:53 -04:00
Nathan Hourt
6aae0d8314 Cleanup balance_object_test a bit 2015-06-30 10:25:46 -04:00
Nathan Hourt
391b0bec45 Progress #17: Remove GRAPHENE_INITIAL_SUPPLY
The INITIAL_SUPPLY macro is generally not useful, and there's no good
way to fulfill the promise it creates. By removing it, I can skip the
scaling on the genesis values. Now, if there is an allocation at
genesis, the supply is determined by that allocation. Otherwise, the
supply is GRAPHENE_MAX_SHARE_SUPPLY and it all belongs to
GRAPHENE_COMMITTEE_ACCOUNT.

Also, remove one of the redundant and confusing MAX_SUPPLY macros and
unify the usage to always be GRAPHENE_MAX_SHARE_SUPPLY.
2015-06-29 17:50:56 -04:00