Anthony Fieroni
33a3d2cea3
Introduce libclaimtrie
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:27 +02:00
Brannon King
99e8e7fe10
performance tweaks, unit test fixes
2020-03-26 15:40:26 +02:00
Brannon King
7241ed9c41
goes through block 664641
2020-03-26 15:40:26 +02:00
Brannon King
afb9fde277
It passes 200k
2020-03-26 15:40:26 +02:00
Brannon King
4607866217
cache and hash fork tests pass
2020-03-26 15:40:26 +02:00
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
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
d69f317b1d
initial commit of metadata on supports
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
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
1aab6cd3b8
separate claim from children storage
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
Brannon King
2df70eeed1
removed superfluous fRequireTakeoverHeights
2020-03-26 15:40:14 +02:00
Anthony Fieroni
27b39ba67a
Better use copies on iterate claim and support re-add
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:14 +02:00
Anthony Fieroni
8af7ed9450
A bit more cleanup
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:14 +02:00
Anthony Fieroni
c83062bfa8
Code refactor
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:14 +02:00
Anthony Fieroni
934908c79e
Fix expiration fork usage
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2020-03-26 15:40:14 +02:00
Brannon King
5f1c22680e
flattening prefix trie work
...
put getclaimsintrie back as deprecated
added test for adding a lot of data to the claimtrie
updated unit test to dodge expiration fork
2020-03-26 15:39:51 +02:00
lbrynaut
9295adeb38
Rebase lbry on to Bitcoin 0.17.
...
This contains significant rebase / merge / testing work by Naut
<lbrynaut@protonmail.com>, Anthony Fieroni <bvbfan@abv.bg> and Brannon
King <countprimes@gmail.com>.
2020-03-26 15:39:51 +02:00