Commit graph

3543 commits

Author SHA1 Message Date
Roy Lee
1e6d53b950 [lbry] rpc: add a blocknotify example using lbcd websocket 2022-01-04 09:52:39 -08:00
Brannon King
0f48f40cd7 [lbry] work around existing bug with block validation flags 2021-12-30 09:50:16 -05:00
Brannon King
92a934df53 [lbry] blockchain: clear statusValid upon statusValidateFailed is set
The status management of index does need some refactoring.
For now, we just manually clear the statusValid in every occurance
of statusValidateFailed being set.

Co-authored-by: Roy Lee <roylee17@gmail.com>
2021-12-30 09:36:59 -05:00
Brannon King
8b11a933c1 [lbry] rpc: made invalidate/reconsiderBlock return RPC errors 2021-12-30 09:36:59 -05:00
Brannon King
6da78c0bf1 [lbry] bump the version number 2021-12-30 09:36:59 -05:00
Brannon King
1f8ed174c0 [lbry] removed dependency on text/norm, fixed NFD normalization 2021-12-30 09:36:59 -05:00
Brannon King
50d678b007 [lbry] claimtrie: try to make ExpiresAt inlinable 2021-12-30 09:36:59 -05:00
Brannon King
b87ee2b51e switch to syndtr, golang 1.17.5
forgot to run tidy
2021-12-24 15:15:13 -05:00
Roy Lee
3f2a2b1f76 [lbry] ci: update go modules 2021-12-15 08:27:58 -08:00
Jeffrey Picard
cb7b2b28bf [lbry] contrib: add linode deployment using docker 2021-12-15 08:27:58 -08:00
Brannon King
2df74a828f fix crash on unlock generate/invalidate loop 2021-12-15 08:27:58 -08:00
Brannon King
eb686cfa9e [lbry] blockchain, mining: don't flush on each new block in regtest 2021-12-15 08:27:58 -08:00
Roy Lee
d9147a4b9c [lbry] ci: setup goreleaser 2021-12-15 08:27:58 -08:00
Brannon King
0783e61fd8 [lbry] ci: bump version to 0.22.100 2021-12-15 08:27:58 -08:00
Roy Lee
73af86f9ae [lbry] ci: fixups lint warnings 2021-12-15 08:27:58 -08:00
Roy Lee
00d1ac1162 [lbry] ci: Update Go toolchain to 1.17.3 2021-12-15 08:27:58 -08:00
Roy Lee
974c71284b [lbry] ci: gitignore IDE stuff 2021-12-14 14:01:09 -08:00
Roy Lee
ca6243fbd0 [lbry] align port settings between lbcd, lbcctl, and lbcwallet 2021-12-14 14:01:09 -08:00
Brannon King
68369ba937 [lbry] ffldb: increase open file limit and flush more often 2021-12-14 14:01:09 -08:00
Brannon King
b9d6044694 [lbry] increase open file limit to 2048 2021-12-14 14:01:09 -08:00
Brannon King
4e63bef33b [lbry] docs: update docs for LBRY
Co-authored-by: Roy Lee <roylee17@gmail.com>
2021-12-14 14:01:09 -08:00
Brannon King
a09c895f49 [lbry] test: don't remove old regression DB 2021-12-14 14:00:59 -08:00
Brannon King
f73b79ae04 [lbry] test: fixed all current tests and delete three.
Co-authored-by: Roy Lee <roylee17@gmail.com>
2021-12-14 14:00:59 -08:00
Brannon King
ed5dd41a2a [lbry] upnp: brought in upnp fix from dcrd 2021-12-14 14:00:59 -08:00
Brannon King
0c8cf5dea0 [lbry] upnp: switched upnp param to its opposite 2021-12-14 14:00:59 -08:00
Brannon King
41472404c6 [lbry] enable segwit 2021-12-14 14:00:59 -08:00
Brannon King
30f4bd6582 [lbry] rpc: added optional address type for getnewaddress 2021-12-14 14:00:59 -08:00
Brannon King
c035acb6b2 [lbry] rpc: ladded claim related fields for wallet 2021-12-14 14:00:59 -08:00
Alex Grintsvayg
c87ce56241 [lbry] rpc: make uptime rpc return a real uptime 2021-12-14 14:00:59 -08:00
Brannon King
276a6141c7 [lbry] rpc: made estimatesmartfee call estimatefee (for now) 2021-12-14 14:00:59 -08:00
Roy Lee
96846fef20 [lbry] rpc, mining: fix generatetoaddress 2021-12-14 14:00:59 -08:00
Brannon King
9ae7b95c85 [lbry] rpc, mining: calculate claimtrie root hash for generate RPC 2021-12-14 14:00:59 -08:00
Brannon King
3fde64cd63 [lbry] rpc: added getchaintips RPC
remove btcjson dep in chainquery
2021-12-14 14:00:59 -08:00
Brannon King
a76bc2b828 [lbry] rpc: import invalidate/reconsiderblock from bchd 2021-12-14 14:00:59 -08:00
Brannon King
4b47722136 [lbry] rpc: import getnetworkinfo from bchd 2021-12-14 14:00:59 -08:00
Brannon King
8f3de76e19 [lbry] rpc: fix getblock reponse 2021-12-14 14:00:59 -08:00
Brannon King
9f88501d07 [lbry] rpc: update defaultMaxFeeRate from 0.1 LBC to 0.5 LBC 2021-12-14 14:00:59 -08:00
Brannon King
207fadab42 [lbry] rpc: output segwit rule 2021-12-14 14:00:59 -08:00
Brannon King
8205e467af [lbry] rpc: add ClaimTrie root hash to GetBlockTemplate() 2021-12-14 14:00:59 -08:00
Brannon King
7f3d51f8c3 [lbry] rpc: support claim related methods 2021-12-14 14:00:59 -08:00
Brannon King
470a71fbe1 [lbry] print out memory usage periodically 2021-12-14 14:00:59 -08:00
Roy Lee
753f413c13 [lbry] claimtrie: import current snapshot
Sync to tip

Co-authored-by: Brannon King <countprimes@gmail.com>
2021-12-14 14:00:59 -08:00
Roy Lee
28a5e6fc65 [lbry] rename btcd to lbcd
Co-authored-by: Brannon King <countprimes@gmail.com>
2021-12-14 14:00:59 -08:00
Roy Lee
dadad3859a [lbry] blockchain: connect to ClaimTrie
Co-authored-by: Brannon King <countprimes@gmail.com>
2021-12-14 14:00:59 -08:00
Brannon King
3f0ec0f28a [lbry] log: support claimtrie entries 2021-12-14 13:31:27 -08:00
Brannon King
62f2be3284 [lbry] txscript: remove claim prefix for addr calculation 2021-12-14 13:31:27 -08:00
Roy Lee
2765ac7215 [lbry] txscript: recognize LBRY claim script OPCODES 2021-12-14 13:31:27 -08:00
Roy Lee
6d80d906a8 [lbry] txscript: introduce claim script
Co-authored-by: Brannon King <countprimes@gmail.com>
2021-12-14 13:31:27 -08:00
Roy Lee
185cb711b5 [lbry] txscript: change MaxScriptSize from 10,000 to 20,005 2021-12-14 13:31:27 -08:00
Brannon King
dfc7a4423c [lbry] server: don't ban peers on tx-not-in-block behavior 2021-12-14 13:31:24 -08:00