Brannon King
7bb4dd677a
don't recall appendchanges from dropchanges
2022-05-05 10:51:20 -04:00
Roy Lee
240eebe403
docker: update to Go 1.18.1 and debian:bullseye-slim as base
2022-04-24 22:36:19 -07:00
Roy Lee
9b313b3914
rpc: log the reason of submitblock rejection
2022-04-24 22:36:19 -07:00
Roy Lee
3f3752628d
.gitignore
2022-04-24 22:36:19 -07:00
Jonathan Moody
67b68d3917
Verify completeness of sample-lbcd.conf using reflection on config struct.
2022-04-20 08:56:27 -07:00
Jonathan Moody
4772e2e7fb
Add a number of missing options to sample-lbcd.conf. Note that "noupnp"
...
appears to be the successor to "upnp" which is no longer supported.
Correct "blacklist is applied before the blacklist" typo in help text.
2022-04-20 08:56:27 -07:00
Jonathan Moody
4cb86f8820
Embed sample-lbcd.conf contents at build time. Use embedded config
...
if the sample-lbcd.conf is not found at runtime.
2022-04-19 19:05:28 -07:00
Roy Lee
d3bfed9a66
mempool: fix ia lint error in test
...
thanks to @moodyjon
2022-04-19 19:02:39 -07:00
Roy Lee
9e352f8141
ci: bump to Go 1.18.1
2022-04-19 18:51:23 -07:00
Roy Lee
1bab29aa69
wip: update getrawmempool and implement getmempoolentry
...
TODO::
1. Populate Ancestor and decsendent related fields instead of mocking.
2. Move and refator the implementation of getmempoolentry to the mempool
package.
2022-02-17 21:07:52 -08:00
Roy Lee
31c404baaa
[lbry] ci: bump to Go 1.17.7
2022-02-17 20:58:32 -08:00
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