Commit graph

21732 commits

Author SHA1 Message Date
Brannon King
3ddd9fac88 tried to fix hashfork tests; they're not working yet 2020-03-26 15:40:26 +02:00
Brannon King
b3b4de0c10 normalization tests pass 2020-03-26 15:40:26 +02:00
Brannon King
649efe8d51 continued work on the takeover height 2020-03-26 15:40:26 +02:00
Brannon King
0be9249171 some progress on making takeover height work 2020-03-26 15:40:26 +02:00
Brannon King
395e773ef5 fixed more tests 2020-03-26 15:40:26 +02:00
Brannon King
cc77a2462b still fixing tests 2020-03-26 15:40:26 +02:00
Brannon King
cfb0804726 made another test pass, cleaned up cruft 2020-03-26 15:40:25 +02:00
Brannon King
2b83e50c92 first tests ran, working to make takeover height unnecessary 2020-03-26 15:40:25 +02:00
Brannon King
319a1d465f it compiles 2020-03-26 15:40:25 +02:00
Brannon King
fd92912b6b windows compilation fix round 2 2020-03-26 15:40:25 +02:00
Brannon King
a0cf46df98 fixed compilation on Windows 2020-03-26 15:40:25 +02:00
Brannon King
9f4aa27c3c Use memory mapped file for claim data allocations
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

match previous serialization


tweaks


added check for RC's data
2020-03-26 15:40:25 +02:00
Brannon King
8f9304483e rolled version, added info to chaintips 2020-03-26 15:40:25 +02:00
Brannon King
3b0758964b added helper method, enabled signing 2020-03-26 15:40:25 +02:00
Brannon King
687b23dafb fixed fee calc issue, removed segwit enable fallback 2020-03-26 15:40:25 +02:00
Anthony Fieroni
e1312a4dc2 Show bid and sequence as optional parameters
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:25 +02:00
Anthony Fieroni
147a95f42f Show claimtrie help in cli rpc
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:25 +02:00
Brannon King
0ca62d4808 updated go-live heights 2020-03-26 15:40:25 +02:00
lbrynaut
fdad3e16a8 Fix unit tests after recent breaks. 2020-03-26 15:40:25 +02:00
Brannon King
4b5ff04114 added staked totals to getwalletinfo 2020-03-26 15:40:25 +02:00
Brannon King
3ab7b8dc69 rolled version, fix txindex_test, other tweaks 2020-03-26 15:40:25 +02:00
Brannon King
83cef85cab Fix broken test on previous checkin 2020-03-26 15:40:14 +02:00
Brannon King
3a1ebf8ac3 change rpc enablement mechanism 2020-03-26 15:40:14 +02:00
Brannon King
d69f317b1d initial commit of metadata on supports 2020-03-26 15:40:14 +02:00
Brannon King
f4a9ef6150 restored nonstandard output on getrawtransaction
attempting to make index pointer problems more obvious


reverted strip in Solver


synced subtype
2020-03-26 15:40:14 +02:00
Brannon King
a754260423 proposed fix for issue 242 2020-03-26 15:40:14 +02:00
Brannon King
b38c393fbd Organize unit tests by type
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

moved a few more tests out
2020-03-26 15:40:14 +02:00
Anthony Fieroni
e44cf950ce Match network id to regtest
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:14 +02:00
Anthony Fieroni
da86c108e7 Show correct script ops in asm
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:14 +02:00
Brannon King
5e7ad62f21 added support for tips in RPC, minor cleanup 2020-03-26 15:40:14 +02:00
Anthony Fieroni
344e839581 Introduce pending amount, the value when claim and its supports got valid
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:14 +02:00
Anthony Fieroni
ef6ed539d1 Make optional claimid and amount in supportclaim
Return destination claim address as well

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:14 +02:00
Anthony Fieroni
32e6a99ee6 Logic fixes, unit test
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:14 +02:00
Anthony Fieroni
4ab46e4972 Add bid, sequence like rpc methods
Reuse a bunch of rpc help texts
2020-03-26 15:40:14 +02:00
Anthony Fieroni
3c693027e5 Split help and rpc methods
Use constants for field names

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:14 +02:00
Anthony Fieroni
f0ec79d047 Unify claimtrie rpc methods
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:14 +02:00
Brannon King
cd32b8e38e more thoroughly tested tx signing 2020-03-26 15:40:14 +02:00
Brannon King
8e3ab88fc8 added parameter for claim db cache size 2020-03-26 15:40:14 +02:00
Brannon King
ea032a2ad7 added unit test for signing claims 2020-03-26 15:40:14 +02:00
Brannon King
b908bf48a1 setting go-live heights 2020-03-26 15:40:14 +02:00
Anthony Fieroni
02f700b9b5 Implement binary tree hash algorithm
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:14 +02:00
Brannon King
32549a4e5a fix osx unit test failure 2020-03-26 15:40:14 +02:00
Brannon King
197f8427c4 simplified claim stripping, removed TX_CLAIM 2020-03-26 15:40:14 +02:00
Brannon King
2aa33f2a36 reduced max open files on levelDB 2020-03-26 15:40:14 +02:00
Brannon King
67753363f7 removed shared_ptr on TData, set minWork 2020-03-26 15:40:14 +02:00
Anthony Fieroni
088d82ee44 Trying to minimize disk reads / writes
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:14 +02:00
Brannon King
9f6eac5c91 attempted optimization of dbwrapper
it will only work for single-threaded access
2020-03-26 15:40:14 +02:00
Brannon King
1aab6cd3b8 separate claim from children storage 2020-03-26 15:40:14 +02:00
Brannon King
c6fd2280aa optimized a little 2020-03-26 15:40:14 +02:00
Brannon King
e510a81fec first pass at not loading full claimtrie into RAM
tweaks
2020-03-26 15:40:14 +02:00