Commit graph

1519 commits

Author SHA1 Message Date
Roy Lee
a02435bbf7 multi-account: update getnewaddress 2022-09-28 11:48:23 -07:00
Roy Lee
47e8dbda55 multi-account: set DefaultScope to KeyScopeBIP0044
By design, all scopes shared the same account name/number space.
2022-09-28 11:48:23 -07:00
Roy Lee
5a0c010688 multi-account: update sendPairs to take keyscope pointer 2022-09-28 11:48:23 -07:00
Roy Lee
00c29c3936 multi-account: add forEachKeyScope uitility iterator 2022-09-28 11:48:23 -07:00
Roy Lee
169abd446c multi-account: support BIP44 account discovery 2022-09-28 11:48:23 -07:00
Roy Lee
0410b7ce01 consolidate: merge internal/external branches 2022-09-28 11:48:23 -07:00
Roy Lee
de408d4133 consolidate: remove watch-only address/account support 2022-09-20 00:29:47 -07:00
Roy Lee
2b0d245b1f consolidate: remove gRPC APIs 2022-09-19 16:04:51 -07:00
Roy Lee
efb8e0b699 consolidate: remove legacystore related code 2022-09-19 15:56:14 -07:00
Roy Lee
e0cb7b7a91 multi-scope: use BIP0049 instead of BIP0049Plus 2022-09-17 14:39:05 -07:00
Roy Lee
f27ea6094e rpc: remove all address type alias in lookupKeyScope
Use the same address type name as bitcoind getnewaddress()
2022-09-17 14:15:12 -07:00
Roy Lee
78b8743ced waddrmgr: use Derive() instead of DeriveNonStandard() 2022-09-17 13:58:07 -07:00
Roy Lee
1f05a9858b wallet: unblock Lock() when the wallet is shutdown 2022-09-17 13:39:19 -07:00
Roy Lee
79bcb8365c wallet: handle corner cases for reorg 2022-09-13 11:40:06 -07:00
Roy Lee
b7013bf5e1 wallet: revert blockhash properly during reorg 2022-09-13 11:40:06 -07:00
Roy Lee
aecb972d75 test: update birthday related tests 2022-09-13 10:59:26 -07:00
Roy Lee
f4ba8a01d1 Revert "wallet: rescan 2 days past the birthday block"
This reverts commit af82460075.

The 48-hour margin has been set in the waddrmgr.Create() right before
written to the databasw.
2022-09-13 10:59:26 -07:00
Roy Lee
af82460075 wallet: rescan 2 days past the birthday block 2022-08-19 17:04:32 -07:00
Roy Lee
40f7d7cefe prompt: ask birthday for user provided seed 2022-08-19 17:04:32 -07:00
Roy Lee
d9d257a9f6 prompt: minror refactoring 2022-08-19 17:04:32 -07:00
Roy Lee
92acdcbfca rpc: reverse the order of listtransactions to align with lbrycrd (2nd attempt)
The previous change doesn't handle the truncated list.
2022-08-08 17:54:42 -07:00
Roy Lee
893a820c65 hack: trating all imported privatekey as non-watchonly
This is to unblock partner integration.

More comprehensive solution will be available soon.
2022-08-08 01:53:47 -07:00
Roy Lee
46f4df5a64 rpc: reverse the order of listtransactions to align with lbrycrd 2022-08-08 01:26:28 -07:00
Roy Lee
610ec20ea8 ci: run "make fmt" 2022-08-08 01:26:02 -07:00
Roy Lee
0c2b21840d ci: update github Worflow, and Go 1.19 2022-08-08 01:26:02 -07:00
Roy Lee
3e45c66f34
Merge pull request #11 from lbryio/roylee17/fix-signrawtransaction
rpc: handle "input not found" case in signrawtransaction
2022-08-04 22:04:03 -07:00
Roy Lee
fd92031e27 rpc: handle "input not found" case in signrawtransaction 2022-08-04 21:55:39 -07:00
Roy Lee
eff01c9e63
Merge pull request #12 from lbryio/roylee17/update-ci-go-version
ci: update workflow and Go 1.19
2022-08-04 21:50:24 -07:00
Roy Lee
2428b381da ci: run "make fmt" 2022-08-04 21:41:06 -07:00
Roy Lee
2e95c1427f ci: update github Worflow, and Go 1.19 2022-08-04 21:40:57 -07:00
Roy Lee
13a42b37ce ci: add tools package to lock Go tooling versions 2022-08-04 21:40:37 -07:00
Roy Lee
18b605c6e1 mod: update go dependencies 2022-08-04 21:40:19 -07:00
Roy Lee
c21be77e05 configs: updated docs/comments about disabling tls for remote connections 2022-08-04 17:24:24 -07:00
Roy Lee
d1700f2658 rpc: allow listtransaction take "default" as account
This is also another quirks that lbcwallet mixes account with label.
2022-07-27 10:32:52 -07:00
Roy Lee
be9df55a7c rpc: remove deprecated rpc "move" and "setaccount" 2022-07-27 10:29:35 -07:00
Roy Lee
9d812ab865 [lbry] config: allow non-localhost connections with TLS disabled 2022-07-11 16:22:35 -07:00
Roy Lee
b4a9f5f524 [lbry] version: bump lbcd depencency to include version handling fix 2022-07-06 20:47:07 -07:00
Roy Lee
56a178f545 test: fix race conditions in tests 2022-07-05 22:09:03 -07:00
Roy Lee
a7cbb7c481 [lbry] ci: disable few tests for now to unblock CI 2022-07-05 21:06:53 -07:00
Roy Lee
c4421900c1 test: fix fmt string directive. 2022-07-05 21:06:53 -07:00
Roy Lee
e5f7fefaac [lbry] rpc: update getaddressinfo help messages 2022-07-05 21:06:53 -07:00
Roy Lee
5d95b1cd9a
Merge pull request #7 from lbryio/roylee/hardcode-paytxfee-to-zero
[lbry] fee: update getinfo.paytxfee to 0
2022-06-14 17:06:52 -07:00
Roy Lee
444fc83aad [lbry] fee: update getinfo.paytxfee to 0
This is a hack fix to unblock lbrypool.net.

The paytxfee in lbcwallet is actually not being used anywhere, and is
hardcoded to DefaultRelayFee, which is 1000. Lbrycrd sets default to 0.

Also, since the paytxfee is not actually used/implemented, the
'settxfee' RPC is also
2022-06-14 17:03:16 -07:00
Roy Lee
ce9b4eb809 [lbry] version: use version package 2022-05-24 11:00:43 -07:00
Roy Lee
10b9f52e03 [lbry] ci: update Makefile and remove goclean.sh 2022-05-24 11:00:43 -07:00
Roy Lee
471b2d1987 [lbry] ci: update Dockerfile 2022-05-24 11:00:43 -07:00
Roy Lee
df1d2ee1a1 [lbry] ci: support GoReleaser 2022-05-24 11:00:43 -07:00
Roy Lee
3671cd0c05 [lbry] ci: add github workflows 2022-05-24 10:48:28 -07:00
Roy Lee
57e8d9cdd2 [lbry] ci: update golangci settings 2022-05-24 10:48:28 -07:00
Roy Lee
5c8800691c [lbry] go module: update dependencies 2022-05-24 10:48:28 -07:00