Commit graph

21805 commits

Author SHA1 Message Date
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
Brannon King
ed7cc99956 fix OSX build 2020-03-26 15:40:27 +02:00
Brannon King
470bb18347 force reindex first time, remove leveldb data 2020-03-26 15:40:27 +02:00
Anthony Fieroni
aae6d4e348 Reorg includes
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
94754becac Try commit changes in a minute
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Brannon King
ee054ac8fe fixed the txindex data 2020-03-26 15:40:27 +02:00
Brannon King
1c930030cd fixed restart issues, ditched metadata column 2020-03-26 15:40:27 +02:00
Brannon King
8f776bcf01 remove leveldb, made tests pass
error on Ctrl+C during reindex
2020-03-26 15:40:27 +02:00
Anthony Fieroni
f8f209d51a Strip out takeover workaround in its own file
Trying to optimize a bit hash computation

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
cc32e2949c Address performance issue
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Brannon King
49d468f775 minor optimization tweaks, fixed one validHeight use 2020-03-26 15:40:27 +02:00
Brannon King
c5b96f99e3 all tests pass 2020-03-26 15:40:27 +02:00
Brannon King
d942ffa1f2 handle takeover going back to zero 2020-03-26 15:40:27 +02:00
Anthony Fieroni
5e3dbb40cc Initial undo removal
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
3bc4e6f9f0 Fix db directory
Don't use recursive hash computation

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
a50bc97e83 Fix getchangesinblock and unit test
getTotalValueOfClaimsInTrie query is not well performance balanced

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
a9104e8cc6 Fix removing expired claim
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
0dda3310d1 Fix claimtriecache test
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
80b81a1f25 Ensure working directories are created
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
4c72d39033 Do not pass bool as int
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
5e50508410 Fix python unit test
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
1cc1b0fb80 Fix sleep
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Anthony Fieroni
17a4ded0ca Implement handlers for references and callbacks
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00