Commit graph

21827 commits

Author SHA1 Message Date
Anthony Fieroni
43ffc17b6d Partial fix, still need investigation in wallet and block generator tests
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:44 +02:00
Brannon King
17875c97c9 in progress on making py tests run 2020-03-26 15:40:44 +02:00
Brannon King
5dca394aaa tweak consistency check 2020-03-26 15:40:44 +02:00
Brannon King
81c7695526 byte swap performance on windows 2020-03-26 15:40:44 +02:00
Anthony Fieroni
508542350b Increase attempts to database sync
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:44 +02:00
Brannon King
ea5a7c8152 optimized hash calc, fixed bad nChainTx, re-used db connection 2020-03-26 15:40:44 +02:00
Brannon King
4be2089329 more careful initialization 2020-03-26 15:40:44 +02:00
Brannon King
b83516d107 improve integrity check time 2020-03-26 15:40:44 +02:00
Anthony Fieroni
f0f72e5c57 Don't call lsn_reset at periodic time
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:44 +02:00
Brannon King
6153986566 fixed slow loading of block index, increased wallet flush period 2020-03-26 15:40:43 +02:00
Anthony Fieroni
acc45c1a19 Fix branding which lead to confusing users
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:43 +02:00
Anthony Fieroni
dc7207b861 Port rpc help to newer api
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:43 +02:00
Anthony Fieroni
db96a93844 Ensure database directories existence
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:43 +02:00
Anthony Fieroni
ac042b808a Fix regtest segwit issue
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:43 +02:00
Anthony Fieroni
8cc5800731 Fix signed / unsigned check
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:43 +02:00
Anthony Fieroni
5aa3b30a22 Fix wallet stake filters
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:43 +02:00
Brannon King
07aa24f6d3 put symbols into test exe 2020-03-26 15:40:43 +02:00
Brannon King
6c0ed20673 use original height for seq parameter in RPC 2020-03-26 15:40:28 +02:00
Brannon King
26125f1351 fixed missing items in block_info, incorrect column names 2020-03-26 15:40:28 +02:00
Brannon King
40042cf1a7 track original height (not working) 2020-03-26 15:40:28 +02:00
Brannon King
d4766821c7 changed to WAL, changed coin table to unspent, added unspent::address 2020-03-26 15:40:28 +02:00
Anthony Fieroni
3b7892b276 Port mutex to locked_chain
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Brannon King
6b9c1b995d fixed osx build 2020-03-26 15:40:28 +02:00
Brannon King
ce3c813dfc fixed windows build 2020-03-26 15:40:28 +02:00
Anthony Fieroni
d313bccf47 Fix validation tests
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Anthony Fieroni
ed6ee30655 Fix UB shifting signed integer by 31 bits
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Anthony Fieroni
70f8c25bb7 Fix coin misbehave
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Anthony Fieroni
62790d3b9c Fix wallet balance
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Brannon King
13a737de71 fixed blockfilter_index_tests 2020-03-26 15:40:28 +02:00
Anthony Fieroni
cc037fafc4 Fix getblocktemplate pre-segwit
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Anthony Fieroni
5005e95d05 Clarify claimtrie allocation
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Brannon King
4b03309a64 fixed ordering on txundo emplace 2020-03-26 15:40:28 +02:00
Anthony Fieroni
eac4f02348 Fix rebase issues
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Anthony Fieroni
423e158876 Make Qt GUI to compile and run
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Anthony Fieroni
10d0e58f9d Make bench working
Add hash comparison

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Brannon King
0497e06143 fixed tests not allowing nAllClaimsInMerkleForkHight < 140 2020-03-26 15:40:28 +02:00
Anthony Fieroni
e904a9fce6 Use faster continuous memory hash computation
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Anthony Fieroni
3dc39cefbc Add Go binding to libclaimtrie
Still not work (it has problems with swig generated code)

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Brannon King
69c1e4afc6 optimized findNameForClaim, added test for removalWorkaround 2020-03-26 15:40:28 +02:00
Anthony Fieroni
e4e160cf3e Fix partial claim id search
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Brannon King
f9cb79349b added additional unit tests, optimized queries 2020-03-26 15:40:28 +02:00
Anthony Fieroni
d896099593 Remove duplicate code
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Brannon King
8ddb17b03d changed name column to blob 2020-03-26 15:40:28 +02:00
Anthony Fieroni
38006baf03 Fix signed / unsigned compare
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Brannon King
394f1d6088 repaired getchangesinblock 2020-03-26 15:40:28 +02:00
Brannon King
f85a276446 renamed tables to be singular 2020-03-26 15:40:28 +02:00
Brannon King
80f626ad60 ensure -O2 gets to ICU & BDB 2020-03-26 15:40:28 +02:00
Anthony Fieroni
5a50b39c84 Move sqlite back in claimtrie
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:28 +02:00
Brannon King
d88d6b3280 fix compile error that came with include reorg 2020-03-26 15:40:27 +02:00
Brannon King
9eed417892 ensure removalWorkaround matches old code 2020-03-26 15:40:27 +02:00