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
Richard Bondi
9aebfb74e0
rpc help list commands
2019-03-02 11:38:38 -06: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
Braydon Fuller
fb9cee7176
wallet: get correct address for getnewaddress rpc
2018-08-24 13:07:04 -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 (JJ)
935c34f317
Merge branch 'master' into rpc-getaddressesbyaccount
2018-04-06 16:09:33 -07:00
Christopher Jeffrey
94fd001e88
wallet/http: require admin token.
2018-03-29 21:56:52 -07:00
Christopher Jeffrey
cb978df380
db: drop old migrations. avoid using encoding.
2018-03-29 21:56:51 -07:00
Christopher Jeffrey
3c82ac0486
bcoin: use util.revHex again.
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
bf4f5e3bac
bcoin: bstring requires.
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
4535cd1827
utils: start using bmutex.
2018-03-29 21:56:47 -07:00
Christopher Jeffrey
f9eba3f5a6
crypto: start using hash.digest().
2018-03-29 21:56:47 -07:00
Christopher Jeffrey
cbef19047a
bcoin: cleanup. fix bsock calls.
2018-03-29 21:56:47 -07:00
Christopher Jeffrey
fe03b42936
utils: start using bval.
2018-03-29 21:56:47 -07:00
Christopher Jeffrey
41925d495c
utils: start using bbuf.
2018-03-29 21:56:46 -07:00
Christopher Jeffrey
3a722481f9
utils: use bfile over utils/fs.
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
5a23ba96d0
wallet: get server working.
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
636d66a5c7
bcoin: use bcrypto. remove crypto module.
2018-03-29 21:56:45 -07:00
Christopher Jeffrey
a87260c959
http: rpc improvements. minor fixes.
2018-03-29 21:56:44 -07:00
Christopher Jeffrey
649f8cc171
http: stop using socket.io.
2018-03-29 21:56:44 -07:00
Christopher Jeffrey
fe2a6eb793
http: refactor to make separation easier.
2018-03-29 21:56:44 -07:00
Christopher Jeffrey
fc3b31836b
wallet/http: improve validation.
2018-03-29 21:56:44 -07:00
Christopher Jeffrey
f3b94ded65
wallet/bcoin: stop tracking network everywhere.
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
abcf48cbe9
wallet: update rpc calls for getHashes.
2018-03-29 21:56:43 -07:00
Christopher Jeffrey
55f5ff9493
wallet: use batches.
2018-03-29 21:56:43 -07:00
Daniel McNally
b9b4e5f182
Catch 'already exists' error in importAddress
2017-10-20 21:49:31 -04:00
Daniel McNally
d77838d3a2
Catch 'not found' error in getAddressesByAccount
2017-10-20 11:50:04 -04:00
Christopher Jeffrey (JJ)
340f2176fc
Merge pull request #292 from nodar-chkuaselidze/fix/rpc-getbalance-default
...
RPC: change default to getbalance
2017-10-18 22:39:20 -07:00
Christopher Jeffrey
73b84cc1a7
lint: remove useless parens.
2017-08-27 16:50:23 -07:00
Christopher Jeffrey
26f6fb5277
wallet: enforce settxfee for all functions.
2017-08-26 01:35:36 -07:00
Christopher Jeffrey
6742482445
mtx: subtract fee evenly from all outputs.
2017-08-26 01:21:25 -07:00
Node
82595b95eb
rpc: getbalance default minconf=1
2017-08-24 20:57:27 +04:00
Christopher Jeffrey
3bc47f5a3c
lint: enforce function names.
2017-08-06 21:36:48 -07:00
Christopher Jeffrey
62152a1005
util: remove util.inherits. inline inheritance.
2017-08-06 19:45:10 -07:00
Christopher Jeffrey
1df577cb74
validation: refactor.
2017-08-06 03:23:37 -07:00
Christopher Jeffrey
e38da91065
lint: no extra parens around !await.
2017-07-31 18:21:03 -07:00
Christopher Jeffrey
6ba8eb9951
eslint: more style rules.
2017-07-31 18:21:03 -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