Commit graph

267 commits

Author SHA1 Message Date
Daniel Larimer
baf5531238 Refactored chain library
- remove circular dependency with fee_schedule
- unitiy build db_* as database.cpp
- move protocol definitions in separate directory
- combined some objects/evaluators
- combined limit/call evaluator/objects into market_evaluator.*
2015-07-08 16:39:23 -04:00
Daniel Larimer
90e04d0290 Refactoring fee schedule to make things more flex
- this code does not compile, there are now circular references that
need to be resolved.
2015-07-07 18:46:27 -04:00
theoreticalbts
efc1505612 application.cpp: Remove commented-out duplicate of create_example_genesis() logic 2015-07-07 13:07:39 -04:00
Vikram Rajkumar
68744c9de0 Initialize genesis witnesses with default secret commitment; #17, #23 2015-07-07 12:36:31 -04:00
Vikram Rajkumar
70b34aa5d8 Unrevert submodules 2015-07-07 12:36:30 -04:00
Daniel Larimer
e873d3e650 Update balance evaluator / authority checks
- move balance_claim_evalautor implementation from header
- remove authority check from balance_claim evaluator, added to
other_auths defined by the operation
2015-07-07 11:39:16 -04:00
Daniel Larimer
93aff09685 Merge branch 'master' of github.com:cryptonomex/graphene 2015-07-07 10:57:29 -04:00
Daniel Larimer
b1dd41ff3a Refactor get_required_auths on operations 2015-07-07 10:57:01 -04:00
Vikram Rajkumar
d240b6737f Unrevert submodules 2015-07-07 10:40:34 -04:00
Eric Frias
beb2e47832 Prevent deref of invalid optional on wallet import of malformed WIF key 2015-07-07 09:22:15 -04:00
Eric Frias
ce729ba9f9 Add wallet api function to vote for number of witnesses/delegates 2015-07-07 09:22:15 -04:00
Eric Frias
b9b4aa08de Add command to print display raw operation structures 2015-07-07 09:22:15 -04:00
Daniel Larimer
86df9c04fd Progress #141 - defining extension parameters 2015-07-07 09:02:36 -04:00
Daniel Larimer
1eb273118b Fix #136 add serialization to blockchain params 2015-07-07 08:31:47 -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
f175b4561c Properly re-initialize witness scheduler state after a long block gap 2015-07-06 15:51:43 -04:00
Vikram Rajkumar
81df85aed7 Fix BTS genesis import error; #17 2015-07-06 15:00:56 -04:00
Vikram Rajkumar
df03598be9 Do not capture genesis_state on exception 2015-07-06 15:00:52 -04:00
Vikram Rajkumar
fc7fb86cd2 Temporarily allow import BTS address/pubkey prefixes; #17 2015-07-06 15:00:52 -04:00
Vikram Rajkumar
4a7cbaf610 Set default genesis fees to 1 GPH; #17 2015-07-06 15:00:48 -04:00
Daniel Larimer
8ccafe0f03 Refactor fee schedule for extensibility 2015-07-06 14:56:35 -04:00
Vikram Rajkumar
b89ff4e6b1 Some {asset, price} operator cleanup; fix #134 2015-07-06 14:18:47 -04:00
Nathan Hourt
c00e20268d Tweaks circa genesis, should not affect behavior 2015-07-06 14:00:39 -04:00
Nathan Hourt
6ab59f63a7 Resolve #133: allow creation of example genesis json 2015-07-06 14:00:39 -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
Vikram Rajkumar
9e820c648b Update submodules 2015-07-06 12:17:18 -04:00
Eric Frias
423eccf4a4 Win32 compile fixes, no functional changes 2015-07-05 17:58:24 -04:00
Eric Frias
3ee8b0c2a4 Prevent duplicate signatures when importing balances #129 2015-07-05 16:04:00 -04:00
Daniel Larimer
c0c6022338 Fix #130 Black Swans Settle at Price Feed 2015-07-03 17:07:24 -04:00
Eric Frias
cc1348bf91 Prevent the wallet from complaining when creating a new account, it
was falsely reporting that someone else had registered your account
first.  I still don't think it's working correctly, but it's
better than it was.
2015-07-02 20:05:31 -04:00
Nathan Hourt
9cb9d2e07f Progress #98: restrict withdrawal rate of vesting genesis balances 2015-07-02 15:40:04 -04:00
theoreticalbts
256b95ac5e use FC for endian reversal to avoid Boost 1.58 2015-07-02 15:33:15 -04:00
Vikram Rajkumar
4a84892981 Fix build errors 2015-07-02 13:04:28 -04:00
Vikram Rajkumar
4d176e73b2 Some linear vesting cleanup 2015-07-02 12:30:11 -04:00
Daniel Larimer
5a41114d94 #125 Replace ntohl with boost::endian::endian_reverse 2015-07-02 12:28:15 -04:00
Daniel Larimer
871aa734ae Update documentation and fix error messages, Fix #127 2015-07-02 12:11:43 -04:00
Daniel Larimer
68fabe1464 Progress #127 - importing balances 2015-07-02 11:18:52 -04:00
Daniel Larimer
3d220e0df6 removing platform specific header, see #125 2015-07-02 10:55:31 -04:00
Eric Frias
a480912110 Add missing include for htonl on linux, #125 2015-07-02 10:49:13 -04:00
Daniel Larimer
d66ee4c8cc remove htonl from memo checksum when it appears to provide no obvious benefit 2015-07-02 10:04:07 -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
Daniel Larimer
07f621cd65 Merge branch 'master' of github.com:cryptonomex/graphene 2015-07-01 18:17:55 -04:00
Daniel Larimer
8efa2e6738 Progress auditing TODOs #108, upgrade boost 1.58 2015-07-01 18:17:49 -04:00
Eric Frias
acd595f889 Add missing functions for registering delegates 2015-07-01 17:47:39 -04:00
Nathan Hourt
e9b015b768 Add missing header. Derp 2015-07-01 17:25:06 -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
bb71e1933b Implement #103 - Override Transfers by Issuer 2015-07-01 16:21:18 -04:00