Commit Graph

547 Commits

Author SHA1 Message Date
Sky Young
84aabe20a9 Fix transaction signing 2019-07-19 11:44:37 -06:00
Sky Young
c670ef2ed2 Fix things that were not merged properly 2019-07-15 16:18:46 -06:00
Sky Young
153da80920 Merge remote-tracking branch 'bcoin/master' into bcoin-1.0.2 2019-07-15 15:42:15 -06:00
Braydon Fuller
f00985fefb
node: consistent rpc error messages 2019-06-05 12:11:52 -07:00
Braydon Fuller
eba7bbeddc
wallet: handle multiple conflicting inputs 2019-05-14 14:29:41 -07:00
Braydon Fuller
392b3836fc
Merge pull request #715 from pinheadmz/inspect
Use custom `inspect` for all objects to avoid deprecation warning
2019-04-05 09:41:24 -07:00
Mark Tyneway
a28ffa272a
wallet rpc: add getaddressinfo rpc command
update the rpc command to better match bitcoind.
add the ismine and iswatchonly fields and
segwit related fields such as witness_version
and witness_program.
2019-03-26 16:13:18 -07:00
Matthew Zipkin
5751b8c330
rpc: multiple fixes and tests
wallet-rpc: fix listsinceblock height

wdb: fix getWalletPaths() always return nothing

wallet: add unlockCoins() for lockunspent rpc

wallet-rpc: correct num args for some rpc calls

wallet-rpc: fix args for importwallet and importprunedfunds

wallet-rpc: importprunedfunds error misleading

wallet-rpc: importPubkey args

wallet-rpc: listsinceblock arg count error

wallet-rpc: listTransactions ignoring account param

wallet-rpc: better sendMany error msgs

wallet-rpc: sendMany subtractfee is bool not obj

wallet-rpc: dont check if not implemented

test: add rpc-test
2019-03-11 14:36:13 -07:00
Matthew Zipkin
df4e287817
utils: custom inspect for objects 2019-03-11 14:28:45 -07:00
Nodar Chkuaselidze
c0fb984da6
wallet: create non-templated transaction. 2019-03-05 21:14:25 +04:00
Braydon Fuller
c1f5975fb1
Merge pull request #705 from rsbondi/rpc-help
rpc help list commands
2019-03-04 11:12:33 -08:00
Richard Bondi
9aebfb74e0
rpc help list commands 2019-03-02 11:38:38 -06:00
Matthew Zipkin
a2bf18ff18
wallet: better wallet.send outputs error 2019-03-01 10:45:05 -08:00
Matthew Zipkin
1696b3c7bb
wallet: require pubkey for watchonly 2019-02-11 14:14:33 -08:00
Matthew Zipkin
bb1ce25449
wallet-http: create account: remove unused 'watch-only' 2019-02-08 16:26:51 -08:00
Steven Bower
fe5a6d7eff
wallet: improve logging (minor) 2019-02-07 17:01:37 -08:00
Matthew Zipkin
f0806a54dd
rpc: remove handleError 2019-02-07 14:04:37 -08:00
Matthew Zipkin
7303d284d5
wallet-rpc: log queries 2019-02-07 14:04:37 -08:00
Matthew Zipkin
da2084f503
rpc: identify node/wallet in log 2019-02-07 14:04:37 -08:00
Matthew Zipkin
d9044960ad
http: identify node/wallet in log 2019-02-07 14:04:37 -08:00
Nodar Chkuaselidze
579a98a531
address: minor fixes 2018-11-15 17:39:25 +04:00
Javed Khan
fe340265c8
Merge pull request #444 from nodar-chkuaselidze/wallet-api/create-tx
Allow optional signing in createTX http endpoint
2018-10-19 23:22:54 +05:30
Christopher Jeffrey
e0863d4a91
deps: upgrade to bcrypto 2.0. upgrade other deps. 2018-09-29 14:38:53 -07:00
Braydon Fuller
fb9cee7176 wallet: get correct address for getnewaddress rpc 2018-08-24 13:07:04 -07:00
Javed Khan
7f4494e278
multi: pass new Node option file to wallet plugin
`file` is similar to `config`, but it propogates to the wallet plugin
and loads the wallet config file only if set to true.

This is useful to disable config files for both node and wallet when
running a full node, for example in a test environment.
2018-08-13 17:36:21 +05:30
Javed Khan
9a22976631
multi: fix lint warnings 2018-08-13 17:30:30 +05:30
Christopher Jeffrey
a0ac953079
bcoin: update logger usage. 2018-08-10 16:24:10 -07:00
Christopher Jeffrey
9ee3854828
bdb: upgrade bdb usage for keys. 2018-08-10 16:24:10 -07:00
Christopher Jeffrey
a45e683eb2
bcoin: switch to bsert for everything. 2018-08-10 16:23:46 -07:00
Christopher Jeffrey
b92839c82a
bcoin: use buffer-map. see #533. 2018-08-10 16:23:46 -07:00
Steven Bower
eea4013dcf
Revert "test: http-test - don't read wallet.conf"
See issue #561

This reverts commit 469abb03fe.
2018-08-08 14:48:16 -07:00
Javed Khan
469abb03fe
test: http-test - don't read wallet.conf 2018-08-06 20:50:34 +05:30
Nodar Chkuaselidze
1b92e7b4ea
wallet-http: sign parameter to create transaction without signatures. 2018-07-20 17:52:05 +04:00
Orfeas Stefanos Thyfronitis Litos
208dcfd1d5
wallet: fixed typos; pool: minor jsdoc (#511) 2018-07-04 17:49:00 +05:30
Nodar Chkuaselidze
92ebbbdde7 wallet-node: fix client cfg parsing 2018-07-04 17:12:06 +05:30
Nodar Chkuaselidze
ef43dad9ee wallet-account: fix change derivation path 2018-07-03 13:03:27 +05:30
bucko13
3a49d53372 pass sort option through http 2018-06-13 10:40:11 -07:00
Sky Young
3653da2d01 Flo-ify 2018-05-08 13:40:23 -07:00
bucko13
50263dfc0b add account option to create and send 2018-05-01 17:39:42 -07:00
Christopher Jeffrey (JJ)
935c34f317
Merge branch 'master' into rpc-getaddressesbyaccount 2018-04-06 16:09:33 -07:00
Christopher Jeffrey (JJ)
bb93599eb3
Merge branch 'master' into fix/rescan-log 2018-04-06 16:03:14 -07:00
Nodar Chkuaselidze
022e08737a
account: fix create methods 2018-03-30 20:29:34 -07:00
Christopher Jeffrey
c7d844ea37
node/wallet: add cors option. see #397. 2018-03-29 22:22:47 -07:00
Nodar Chkuaselidze
179c53d97f
wdb: fix hasAccount 2018-03-29 22:07:11 -07:00
Nodar Chkuaselidze
5f47b23736
wallet-http: provide info if key was added/removed to db 2018-03-29 22:07:00 -07:00
Steven Bower
8429c08ac6
Wallet: Minor log change
Makes it easier to distinguish between node HTTP server and wallet HTTP server in debug logs
2018-03-29 22:06:15 -07:00
Nodar Chkuaselidze
339dd50bf1
wallet: remove watchOnly check from wallet.fund 2018-03-29 22:06:05 -07:00
Christopher Jeffrey
319ec82997
wallet: fix depth incrementation. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
d357ecb159
pkg: update deps. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
fac9c714db
bin: drop bin/cli. 2018-03-29 21:56:53 -07:00