Commit graph

1507 commits

Author SHA1 Message Date
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
Roy Lee
49e78d88cb [lbry] rpc: support --skipverify on TLS connection to lbcd 2022-05-24 10:48:28 -07:00
Roy Lee
09ae692b44 [lbry] rpc: update help docs 2022-05-24 10:48:28 -07:00
Brannon King
1d0ef1da6d [lbry] added staked value to balance call 2022-05-24 10:48:28 -07:00
Brannon King
23f883be7e [lbry] eliminated btcd dependency 2022-05-24 10:48:28 -07:00
Brannon King
d5328e1834 [lbry] coin selection and balance no longer include stakes 2022-05-24 10:48:28 -07:00
Brannon King
4c6e495f86 [lbry] use address type parameter in getnewaddress 2022-05-24 10:48:20 -07:00
Roy Lee
10d0a26792 [lbry] update backend list 2022-05-24 10:31:06 -07:00
Roy Lee
d6434b148a [lbry] enable regtest for --createtemp (temporary wallet) 2022-05-24 10:31:06 -07:00
Roy Lee
f52bea1e37 [lbry] rpc: getaddressinfo
Co-authored-by: Brannon King <countprimes@gmail.com>
2022-05-24 10:31:06 -07:00
Roy Lee
879bf10dde [lbry] chain: bring back removed chainParams for a testcase 2022-05-24 10:31:06 -07:00
Roy Lee
cedfab95fa [lbry] update coin_type to LBC (140) 2022-05-24 10:31:06 -07:00
Roy Lee
5c96fa9cda [lbry] docs: Update README.md 2022-05-24 10:31:06 -07:00