Brannon King
15e103b42f
performance tweaks, unit test fixes
2020-01-15 14:39:48 -07:00
Brannon King
37bf897f75
runs to norm fork
2020-01-15 14:39:48 -07:00
Brannon King
75c4c7ab0d
fixed issue with untouched child nodes needing a parent update
2020-01-15 14:39:48 -07:00
Brannon King
dfc5ebf3f6
It passes 200k
2020-01-15 14:39:48 -07:00
Brannon King
5f8b0b6f55
fixed some RPC tests
2020-01-15 14:39:48 -07:00
Brannon King
6b22f66325
cache and hash fork tests pass
2020-01-15 14:39:48 -07:00
Brannon King
24a1c59013
tried to fix hashfork tests; they're not working yet
2020-01-15 14:39:48 -07:00
Brannon King
8affc8fe7d
normalization tests pass
2020-01-15 14:39:48 -07:00
Brannon King
8654a4554e
continued work on the takeover height
2020-01-15 14:39:48 -07:00
Brannon King
515446fe7b
some progress on making takeover height work
2020-01-15 14:39:48 -07:00
Brannon King
377432a459
fixed more tests
2020-01-15 14:39:48 -07:00
Brannon King
e96c393c34
still fixing tests
2020-01-15 14:39:48 -07:00
Brannon King
86ae72abb2
made another test pass, cleaned up cruft
2020-01-15 14:39:48 -07:00
Brannon King
c2d2e4befd
first tests ran, working to make takeover height unnecessary
2020-01-15 14:39:48 -07:00
Brannon King
3e16229318
it compiles
2020-01-15 14:39:48 -07:00
Brannon King
7afebb02f4
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
2019-09-30 12:21:55 -06:00
lbrynaut
4df4136c5d
Fix unit tests after recent breaks.
2019-09-17 09:46:44 -06:00
Brannon King
b434864f18
initial commit of metadata on supports
2019-09-13 16:18:36 -06:00
Brannon King
4da4ab1995
restored nonstandard output on getrawtransaction
...
attempting to make index pointer problems more obvious
reverted strip in Solver
synced subtype
2019-09-13 16:16:08 -06:00
Brannon King
8b98a9a4e9
Organize unit tests by type
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
moved a few more tests out
2019-09-11 09:21:45 -06:00
Anthony Fieroni
476eae3e93
Match network id to regtest
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-09-10 11:54:04 -06:00
Anthony Fieroni
6575fb9534
Show correct script ops in asm
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-09-10 10:02:16 -06:00
Anthony Fieroni
f71d6a4263
Introduce pending amount, the value when claim and its supports got valid
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-09-06 14:03:38 -06:00
Anthony Fieroni
a98288aa80
Logic fixes, unit test
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-09-06 14:03:38 -06:00
Anthony Fieroni
5bdbc9e0d6
Split help and rpc methods
...
Use constants for field names
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-09-06 14:03:38 -06:00
Anthony Fieroni
9d4ef899a6
Unify claimtrie rpc methods
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-09-06 14:03:38 -06:00
Brannon King
ce6be620a5
setting go-live heights
2019-08-30 13:52:32 -06:00
Anthony Fieroni
580f6e20eb
Implement binary tree hash algorithm
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-08-30 13:52:32 -06:00
Brannon King
4a5d310fd3
separate claim from children storage
2019-08-29 08:57:45 -06:00
Brannon King
7b5ae24bea
first pass at not loading full claimtrie into RAM
...
tweaks
2019-08-29 08:57:45 -06:00
Brannon King
20e96d1233
fix unit test crash on OSX
...
pulled in some fixes from v18
2019-08-08 10:11:09 -06:00
Brannon King
43214bc6d2
removed superfluous fRequireTakeoverHeights
2019-07-29 10:25:41 -06:00
Brannon King
6259378466
renamed some of the cache fields
2019-07-29 09:23:56 -06:00
Anthony Fieroni
216cc51825
Code refactor
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-07-29 09:23:56 -06:00
Brannon King
b1aa5e04e1
revert regtest expiration change
2019-07-22 14:27:24 -06:00
Anthony Fieroni
0947307e14
Fix consensus
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-07-22 14:27:24 -06:00
Anthony Fieroni
966e7386d9
Fix expiration fork usage
...
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2019-07-22 14:27:24 -06:00
Brannon King
141f1400dc
fix crash on cli help
...
fix bech32 prefix
bumped version
improve trie read RAM use, fix a few compiler warnings
open segwit window until Jan 2020
work around Windows ICU build issue
upped the soft fork thresh length to a week
open testnet soft forks window
clarifying segwit to be manually enabled
same for testnet
2019-07-19 12:21:07 -06:00
Brannon King
90afa72147
eliminated fuzzer test on osx
2019-07-02 08:44:33 -06:00
Brannon King
3d9e8f595f
changed unit test to deterministic rand
2019-07-02 00:15:27 -06:00
Brannon King
09e2ba2d68
post-merge fixes
2019-07-01 14:44:28 -06:00
lbrynaut
c18f0ed8ea
Add a test for locktime transactions.
2019-07-01 14:44:28 -06:00
Brannon King
9a67b514c9
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
2019-07-01 14:44:28 -06:00
Brannon King
8d955fdd22
added a test for putting a lot of data into the claimtrie
...
updated to dodge expiration fork
2019-07-01 14:44:28 -06:00
Brannon King
9cb4064adb
added claimtrie field back to getblocktemplate
...
I also included a test to ensure that we don't forget it next time
2019-07-01 14:44:28 -06:00
Brannon King
5a393f5b14
Undo compatibility ( #281 )
...
* added test for claimname RPC
2019-07-01 14:44:28 -06:00
Brannon King
c7cabf0e96
pulled in a few minor keepers from the other rebase branch
2019-07-01 14:43:59 -06:00
Brannon King
21f065aff9
fixed small claim names coming out as numeric
2019-07-01 14:43:59 -06:00
Brannon King
40a3668c97
fixed slow-running unit tests
2019-07-01 14:43:59 -06:00
lbrynaut
a08967a572
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>.
2019-07-01 14:43:59 -06:00