Commit graph

109 commits

Author SHA1 Message Date
Roy Lee
ca56a420ee rpc: implement rescanblockchain 2022-10-31 19:53:16 -07:00
Roy Lee
79da868c74 wallet: remove public passphrase prompt
1. Remove passphrase support for public keys.
2. Rename privPassphrase to passphrase to avoid confusion.

Note:

There has been a bug in the prompt, which prevents users from
specifying a custom public passphrase. So, most wallet databases
have been using the default password for the public keys, anyway.
2022-09-28 22:12:38 -07:00
Roy Lee
e78e49d0f6 multi-account: update rpc help messages 2022-09-28 11:48:23 -07:00
Roy Lee
50950fb0d5 multi-account: update listaddresstransactions 2022-09-28 11:48:23 -07:00
Roy Lee
51e700e7d9 multi-account: update listsinceblock 2022-09-28 11:48:23 -07:00
Roy Lee
1edb90e0aa multi-account: update listalltransactions 2022-09-28 11:48:23 -07:00
Roy Lee
2e8dcc4312 multi-account: update listtransactions 2022-09-28 11:48:23 -07:00
Roy Lee
4acd03be8b multi-account: update listreceivedbyaddress 2022-09-28 11:48:23 -07:00
Roy Lee
b34aa61e4d multi-account: update listreceivedbyaccount 2022-09-28 11:48:23 -07:00
Roy Lee
93b33edbcd multi-account: update sendtoaddress 2022-09-28 11:48:23 -07:00
Roy Lee
e6a4b3d1fd multi-account: update gettransaction 2022-09-28 11:48:23 -07:00
Roy Lee
c42e8a0705 multi-account: update validateaddress 2022-09-28 11:48:23 -07:00
Roy Lee
03256c049b multi-account: update getreceivedbyaccount 2022-09-28 11:48:23 -07:00
Roy Lee
678379ce45 multi-account: update listaccounts 2022-09-28 11:48:23 -07:00
Roy Lee
64554cfbc0 multi-account: update sendfrom 2022-09-28 11:48:23 -07:00
Roy Lee
af2d35a604 multi-account: update sendmany 2022-09-28 11:48:23 -07:00
Roy Lee
43bbf0a089 multi-account: update getrawchangeaddress 2022-09-28 11:48:23 -07:00
Roy Lee
c0b263ece7 multi-account: update renameaccount 2022-09-28 11:48:23 -07:00
Roy Lee
531c461383 multi-account: update createNewAccount 2022-09-28 11:48:23 -07:00
Roy Lee
03dd33f8c9 multi-account: update getunconfirmedbalance 2022-09-28 11:48:23 -07:00
Roy Lee
09ec547ed6 multi-account: update getaccount 2022-09-28 11:48:23 -07:00
Roy Lee
608e4dddb5 multi-account: update getbalance 2022-09-28 11:48:23 -07:00
Roy Lee
71f8ba68a0 multi-account: update getaccountaddress 2022-09-28 11:48:23 -07:00
Roy Lee
6a610a8cdf multi-account: update getaddressbyaccount 2022-09-28 11:48:23 -07:00
Roy Lee
a02435bbf7 multi-account: update getnewaddress 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
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
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
610ec20ea8 ci: run "make fmt" 2022-08-08 01:26:02 -07:00
Roy Lee
fd92031e27 rpc: handle "input not found" case in signrawtransaction 2022-08-04 21:55:39 -07:00
Roy Lee
2428b381da ci: run "make fmt" 2022-08-04 21:41:06 -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
e5f7fefaac [lbry] rpc: update getaddressinfo help messages 2022-07-05 21:06:53 -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
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
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
f52bea1e37 [lbry] rpc: getaddressinfo
Co-authored-by: Brannon King <countprimes@gmail.com>
2022-05-24 10:31:06 -07:00
Roy Lee
36554814e8 [lbry] align port settings between lbcd, lbcctl, and lbcwallet 2022-05-24 10:31:06 -07:00
Roy Lee
202374ebd8 [lbry] fork from btcsuite to lbryio
1. btcd -> lbcd
2. btcwallet -> lbcallet
3. btcutil -> lbcutil
2022-05-24 10:31:06 -07:00
Joost Jager
4d2665ee3a
wallet: add random coin selection 2021-05-19 08:34:55 +02:00
Wilmer Paulino
e3523abe7b
build: update btcd dependency
This exposes the new AllowSelfConns config option allowing external
testing of peer.Peer.
2021-04-02 17:28:03 -07:00
Wilmer Paulino
a180b0fcaa
wallet: allow filtering of transactions by account 2021-03-29 16:00:50 -07:00
Wilmer Paulino
2301069644
wallet: require key scope of account for transaction creation methods
Now that we're able to fund transactions from multiple accounts within
different key scopes, we extend our transaction creation methods to
accept a key scope parameter as well, to determine the correct account
to select inputs from.
2021-03-29 16:00:48 -07:00