theoreticalbts
a1e8fc0741
Implement top_n special authority #516
2016-01-27 10:30:32 -05:00
theoreticalbts
ef68375fab
Fix indentation #533
2016-01-25 11:33:05 -05:00
theoreticalbts
a1ee326b55
Improve vote counting implementation #533
2016-01-25 11:33:04 -05:00
theoreticalbts
e9eb050c1e
worker_object.hpp: Move worker objects into own header #466
2016-01-08 11:42:35 -05:00
theoreticalbts
2da6840405
Optionally disable database unity build #509
2016-01-08 11:29:39 -05:00
Fabian Schuh
5111084730
[License] Modify cpp and hpp headers to MIT #496
2016-01-07 11:44:52 -05:00
Daniel Larimer
6b469528a1
remove all hardfork checks leftover from testnet
2015-10-20 12:36:47 -04:00
theoreticalbts
d0609e8e74
Update copyright notice for BitShares
2015-10-12 13:48:40 -04:00
theoreticalbts
60f0812de2
Update copyright notice
2015-10-12 13:32:47 -04:00
Eric Frias
5e6f5506ec
Win32 compile fix (#warning)
2015-10-08 15:23:26 -04:00
Daniel Larimer
eb1895ef55
fix derefrence of null, fix build, restore compat with oct5 test net
2015-10-08 15:03:35 -04:00
Daniel Larimer
a536d39253
TESTNET RESET REQUIRED - convert all hashed indexs to ordered indexes
...
Fix #362 by replacing non-deterministic hashed indexes with ordered
indexes
Remove HARDFORK check for witness ordering because this #362 will
require a test net reset to effeciently implment.
Changed the order in wich process_fees iterates accounts to be "by_name"
rather than "by_id" so that we retain the ability to switch back to
hashed indexes in the future.
This change was overly pestimistic and assumes all indexes may be
traversed as part of consensus. We want to reserve the ability to
change some of the indices back to hashed indicies in the future after a
through audit reveals that they are never iterated over in order.
2015-10-08 14:06:20 -04:00
Daniel Larimer
8e96d9c89c
clean up print statements, minimize undo/fork history
2015-10-07 10:15:32 -04:00
Daniel Larimer
3ded0d4e77
adjust undo buffer based upon last_irreversible_block_num
2015-10-05 09:46:02 -04:00
Daniel Larimer
1e1617633c
removing hard fork
2015-10-05 08:55:32 -04:00
Daniel Larimer
3aafd6cf55
HARDFORK 8/3/2015 - fix calculation for number of witnesses
...
The new witness count calculation set a threshold equal to 50% of
all stake rather than 50% of all stake that has voted for at least 2
witnesses.
2015-10-02 15:40:58 -04:00
Daniel Larimer
2ed45db75b
remove hard fork code
2015-10-02 08:57:02 -04:00
Daniel Larimer
18c0558e6f
HARDFORK - dont count votes for 0 or 1 witnesses
...
Accounts that abstain from voting should not be factored into the
desired number of witnesses because it would heavily bias the count
toward 0.
2015-10-01 13:56:29 -04:00
theoreticalbts
9d3bcbb569
Provide objects to trace budget computations
2015-09-28 15:46:37 -04:00
theoreticalbts
e0414d390e
Fix pending_block and fork handling
...
The pending_block member of database was a premature optimization and had an
unfortunate tendency to get out of sync, especially when switching forks.
This commit removes it, and substantially improves the handling of transactions
when switching forks. Specifically, flooding or forking no longer causes nodes to
discard valid transactions.
2015-09-17 12:11:40 -04:00
theoreticalbts
81cc8e4d81
Fix maintenance time computation #313
2015-09-16 11:10:57 -04:00
Daniel Larimer
127ac7f3de
add api to query worker state
2015-09-11 17:47:27 -04:00
Daniel Larimer
b3052dfcc1
fix warnings
2015-09-11 08:53:50 -04:00
theoreticalbts
19d10e462c
Implement GRAPHENE_PROXY_TO_SELF_ACCOUNT #267
2015-08-26 17:09:49 -04:00
theoreticalbts
6c052294e1
Remove block randomness and rewrite witness scheduling
2015-08-26 15:36:27 -04:00
theoreticalbts
4ecdea1ce2
Move min_witness_count and min_committee_member_count from config.hpp to chain_properties #235
2015-08-17 15:21:55 -04:00
Daniel Larimer
c0c36ca639
votable objects now keep track of their most recent vote count
2015-08-14 17:56:21 -04:00
theoreticalbts
ce624827f6
Include smart_ref_impl.hpp when dereferencing smart_ref #231
2015-08-13 14:28:54 -04:00
Nathan Hourt
a4e5a03973
Resolve #161 : Fix account creation fee scaling
2015-08-10 16:39:09 -04:00
Vikram Rajkumar
2f429e07f1
Rename bad references to delegate -> committee member; #147
2015-07-13 16:08:17 -04:00
Vikram Rajkumar
70b77be3bc
Rename bad references to genesis account -> committee account; #147
2015-07-13 16:08:16 -04:00
Daniel Larimer
786c65d4b4
Merge branch 'master' into fee_refactor
2015-07-09 08:43:45 -04:00
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
Nathan Hourt
6436f0142f
Fix witness/delegate count voting; fix unclean witness shutdown on mac
2015-07-08 16:00:22 -04:00
theoreticalbts
2f9e636618
db_maint.cpp: Avoid implementation-defined ordering when votable objects tie for votes
2015-07-08 15:01:25 -04:00
Nathan Hourt
c00e20268d
Tweaks circa genesis, should not affect behavior
2015-07-06 14:00:39 -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
4bbaad02a7
Progress on Burn, Reserve, Issue, Retire #108
2015-07-01 14:05:42 -04:00
Eric Frias
d04e452266
Prevent writing past the end of an array when tallying witness/delegate votes
2015-07-01 09:56:37 -04:00
theoreticalbts
51bb9025d0
db_maint.cpp: Avoid stdlib implementation-defined ordering when workers tie for votes
2015-06-29 15:36:02 -04:00
Nathan Hourt
baea85ea3a
Resolve #97 : Add exponentially growing fees on account creation
...
It scales up aggressively right now; this can be adjusted later. I just
wanted to demonstrate that it works.
2015-06-26 16:43:39 -04:00
Nathan Hourt
3eaec849eb
Progress #61 : Getting witnesses/delegates by owner
...
Support and API are now present for retrieving witnesses and delegates
by their owners.
2015-06-22 15:03:24 -04:00
theoreticalbts
5e28a79e6f
db_maint.cpp: Roll over leftover witness pay, see 8f739ac767 for description
2015-06-19 13:50:10 -04:00
Nathan Hourt
bba5681722
Resolve #31 , at last
...
I'm now satisfied with the testing.
2015-06-18 17:22:29 -04:00
Nathan Hourt
ec76179b0b
Resolve #40
2015-06-18 15:51:23 -04:00
Daniel Larimer
a14500a364
merge from master, clean up test output
2015-06-18 15:40:38 -04:00
Daniel Larimer
0a5954db70
merge master
2015-06-18 15:31:30 -04:00
Daniel Larimer
ef4ed937cb
Fix update_call_order
...
- redefine price feeds
- clean up unit test spam
2015-06-18 15:17:48 -04:00
Nathan Hourt
9291250214
Issue #52 : working my way out of the rabbit hole
...
Evils abound. And tests still fail.
2015-06-18 15:08:51 -04:00
Nathan Hourt
8f739ac767
Dramatically accelerate chain_test, fix core asset burn bug
...
When generating blocks until a timestamp, we now generate one block
immediately, then skip blocks until the timestamp, and generate a
final block then.
Also, this exposed a bug in the witness budget handling which
caused the undesired burning of core asset. This bug is now fixed.
2015-06-17 12:14:28 -04:00
Nathan Hourt
377432453f
Lay to rest #16
...
It's finally done.
2015-06-16 14:42:05 -04:00
Nathan Hourt
ce4846e81b
Progress #31 : Add some testing
2015-06-15 17:31:44 -04:00
Nathan Hourt
a185f864fc
Progress #31 : Implement threshold for vesting fees
2015-06-11 13:54:46 -04:00
Nathan Hourt
876e9a125d
Resolve #31 : Wrap it up and fix the failing tests
2015-06-10 14:22:32 -04:00
Nathan Hourt
ed7d485df3
Progress #31 : Initial work on new cashback system
...
Lots still to do. There's no longer a way to upgrade an account, genesis
can't evaluate, and who knows how many tests are failing... But it
builds!
2015-06-10 14:17:17 -04:00
Vikram Rajkumar
5633d92813
Apply remaining win32 patches by @emfrias
2015-06-09 14:11:57 -04:00
Nathan Hourt
0a945b0257
Initial commit
2015-06-08 12:36:37 -04:00