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
lbrynaut
2a78c776b4
Detect "claim" type transactions.
...
Add code to enable a hardfork into witness support, in addition to
possible BIP9 fiddling.
Fix a bug in abandonclaim and abandonsupport that burns coins on
abandon, rather than sending to the intended destination.
2020-03-26 15:40:14 +02:00
Brannon King
a01614f5f5
updated to support using bech32 addresses with claim ops
2020-03-26 15:40:14 +02:00
Brannon King
ff0f8d8059
fix unit test crash on OSX
...
pulled in some fixes from v18
2020-03-26 15:40:14 +02:00
Brannon King
2df70eeed1
removed superfluous fRequireTakeoverHeights
2020-03-26 15:40:14 +02:00
Brannon King
5375f90a88
made a new "claims" logging category (off by default)
2020-03-26 15:40:14 +02:00
Brannon King
a853cf5c7b
renamed some of the cache fields
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
Brannon King
6423377fe1
revert regtest expiration change
2020-03-26 15:40:14 +02:00
Anthony Fieroni
3f97b2c70a
Fix consensus
...
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
55da76a515
stop overwriting releases when tags are rebased
...
and stop putting timestamps in the zips
reverted csv, segwit numbers
apparently the overwrite is necessary
going to do releases manually
2020-03-26 15:40:14 +02:00
Brannon King
f47680424d
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
2020-03-26 15:40:14 +02:00
Brannon King
fa8bdefa9e
eliminated fuzzer test on osx
2020-03-26 15:39:51 +02:00
Brannon King
24b5d5bbbd
changed unit test to deterministic rand
2020-03-26 15:39:51 +02:00
Brannon King
aeb7e2798e
post-merge fixes
2020-03-26 15:39:51 +02:00
lbrynaut
c58b8b5aeb
Add a test for locktime transactions.
2020-03-26 15:39:51 +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
Brannon King
6824576189
added a test for putting a lot of data into the claimtrie
...
updated to dodge expiration fork
2020-03-26 15:39:51 +02:00
Brannon King
950f1c6575
support coinbasetxn capability in getblocktemplate
2020-03-26 15:39:51 +02:00
Brannon King
41826acac7
upped the default validation period
2020-03-26 15:39:51 +02:00
Brannon King
fba1acd3d7
restored the current "depends" and friends
...
fix windows test run
unit test round 2
attempting to fix ccache use on darwin
made ccache optional, no longer pulls clang on darwin build
fixing darwin build from Dockerfile
fixed missing nproc on OSX
updated readme to include regtest example, build examples
fix QT unit tests
made -j get passed down, added build.sh
2020-03-26 15:39:51 +02:00
Brannon King
2d38d8af16
fixed ancestors not all in claim trie on packageFees condition
2020-03-26 15:39:51 +02:00