Commit Graph

176 Commits

Author SHA1 Message Date
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
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
Steven Bower
fe5a6d7eff
wallet: improve logging (minor) 2019-02-07 17:01:37 -08:00
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
Christopher Jeffrey
bad028ab67
chaindb: refactor. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
cb978df380
db: drop old migrations. avoid using encoding. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
dbde501444
db: use bdb key object. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
167304666b
db: migrate to key objects. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
a8e2001015
txdb: use new bucket system. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
3c82ac0486
bcoin: use util.revHex again. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
163e89fc29
bcoin: lint. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
f313ca166d
wallet: classify. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
21ab415769
refactor: switch to bio module. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
ca08d6d97e
bcoin: rename bufio and bstring. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
41925d495c
utils: start using bbuf. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
658d3db928
encoding: refactor. remove bip70. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
b39554fa98
txdb: minor. 2018-03-29 21:56:45 -07:00
Christopher Jeffrey
d0ed214067
bcoin: remove dependence on util.js. 2018-03-29 21:56:45 -07:00
Christopher Jeffrey
f3b94ded65
wallet/bcoin: stop tracking network everywhere. 2018-03-29 21:56:44 -07:00
Christopher Jeffrey
40bb08aed6
wallet: better/less property tracking. 2018-03-29 21:56:44 -07:00
Christopher Jeffrey
fe261db706
wallet: track account balances. 2018-03-29 21:56:44 -07:00
Christopher Jeffrey
bd4367a2d1
txdb: fixes for input writing. 2018-03-29 21:56:43 -07:00
Christopher Jeffrey
abcf48cbe9
wallet: update rpc calls for getHashes. 2018-03-29 21:56:43 -07:00
Christopher Jeffrey
c16e85e485
wallet: all async methods. 2018-03-29 21:56:43 -07:00
Christopher Jeffrey
c6d7c43485
wallet: tests passing. 2018-03-29 21:56:43 -07:00
Christopher Jeffrey
55f5ff9493
wallet: use batches. 2018-03-29 21:56:43 -07:00
Christopher Jeffrey
969fd8f704
wallet-rewrite 2018-03-29 21:56:43 -07:00
Christopher Jeffrey
b81643473e
encoding: refactor int64 handling. 2017-09-05 21:17:58 -07:00
Christopher Jeffrey
73b84cc1a7
lint: remove useless parens. 2017-08-27 16:50:23 -07:00
Christopher Jeffrey
1df577cb74
validation: refactor. 2017-08-06 03:23:37 -07:00
Christopher Jeffrey
faabd36f9e
config/validator/utils: fix fixed parsing/serialization. 2017-08-05 18:52:24 -07:00
Christopher Jeffrey
5e73e51177
lint: fix function names. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
55cf07a871
refactor: style for const/let and returns. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
6f3988e861
refactor: use const as much as possible. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
9cc5c393b4
eslint: use prefer-const. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
87d664784c
refactor: s/ts/time. s/ps/mtime. 2017-07-25 14:23:10 -07:00
Christopher Jeffrey
3f9d57f680
wallet: refactor mappings to use maps and sets. 2017-07-25 13:39:38 -07:00
Christopher Jeffrey
7eefb773be
refactor: use maps and sets wherever possible. 2017-07-25 05:15:47 -07:00
Christopher Jeffrey
cedc54436a
lowlevelup: automatic dummies. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
2f51fd1c50
api: use satoshi values for everything. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
296e65d0fd
refactor: use es6 template strings everywhere. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
c53f4cf89e
refactor: switch to const/let. 2017-07-17 14:26:37 -07:00
Christopher Jeffrey
e00472891d
refactor: start using for...of. 2017-07-17 14:26:37 -07:00
Christopher Jeffrey
aa05bb5df7
refactor: use es6 maps for everything. 2017-07-17 14:26:37 -07:00