Roy Lee
eecc55d94c
rpc: take integers for boolean parameters.
...
This is for backward compatibility with lbrycrd/bitcoind where some clients
use intger values (0/1) for boolean.
2022-02-15 20:04:10 -08:00
Roy Lee
20d761441c
go mod: bump github.com/shirou/gopsutil/v3 to 3.22.1
...
To include a few fixes for MacOS Monterey.
2022-02-15 20:04:10 -08:00
Roy Lee
3424fdc6d7
mining: return witness_script instead of raw witness_commitment in GBT
2022-02-13 22:15:26 -08:00
Roy Lee
99f8550412
[lbry] Increase wire.MaxBlockPayload to 8MB
2022-02-06 21:32:53 -08:00
Roy Lee
8d9e9feb2e
[lbry] fees: replace estimatefee with esimatesmartfee
2022-02-02 00:14:27 -08:00
Roy Lee
811741d099
[lbry] fees: port estimatesmartfee from DCRD
...
1. logger
2. blockheight: int64 -> int32
3. dcrutil -> lbcutl
4. MaxConfirimation: 42
5. MinBucketFee: mempool.MinRelayFee (default 1000)
6. BucketFee Spacing: 1.1 -> 1.05
Note:
DCRD implementation of estimatesmartfee is based on bitcoin core 0.14
Lbrycrd (0.17) includes the updates of bitcoin core 0.15.
They are slightly different, but shouldn't matter much.
2022-02-02 00:14:27 -08:00
Roy Lee
f35fcb7215
[lbry] fees: initial import from DCRD
...
vendored https://github.com/decred/dcrd/tree/master/internal/fees
Commit of the last modification
commit a6e205b88fbb44f7ee85be25a81f4dad155670d8
Author: Dave Collins <davec@conformal.com>
Date: Sat Dec 26 12:17:48 2020 -0600
fees: Remove deprecated DisableLog.
2022-02-02 00:14:27 -08:00
Roy Lee
7bfbc8802b
[lbry] rpc: update getrawtransaction to take verbose as boolean
2022-01-23 23:23:18 -08:00
Roy Lee
5c1d4918d5
[lbry] examples: (lbcdblocknotify) connect to LBCD without TLS
2022-01-23 23:23:18 -08:00
Alex Grintsvayg
2cb03c8c3d
add GetChainTips rpc command
2022-01-14 15:49:33 -05:00
Roy Lee
be1b16b9fd
[lbry] examples: update lbcdblocknotify to support Stratum
2022-01-11 21:09:10 -08:00
Roy Lee
b6d3f5d21e
[lbry] rpc: update README.md for examples
2022-01-04 09:59:47 -08:00
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