Christopher Jeffrey
|
cc91e3ea7b
|
http: move to node module.
|
2018-03-29 21:56:45 -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
|
a6dc571c2d
|
http: use bclient.
|
2018-03-29 21:56:45 -07:00 |
|
Christopher Jeffrey
|
f6ca348566
|
http: minor.
|
2018-03-29 21:56:44 -07:00 |
|
Christopher Jeffrey
|
a87260c959
|
http: rpc improvements. minor fixes.
|
2018-03-29 21:56:44 -07:00 |
|
Christopher Jeffrey
|
5ed8c0f4fe
|
walletclient: cleanup.
|
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
|
f617283539
|
wallet: remove useless server.
|
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
|
645cafe653
|
wallet: minor.
|
2018-03-29 21:56:44 -07:00 |
|
Christopher Jeffrey
|
9a8106f4f7
|
refactor: avoid using utils in crypto and vice versa.
|
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
|
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
|
31651ce76e
|
Revert "mtx: allow multiple indicies for subtractIndex."
This reverts commit d489238711.
|
2018-03-29 21:55:36 -07:00 |
|
Nodar Chkuaselidze
|
52584af3c2
|
walletdb: fix scan log
|
2017-11-22 19:57:23 +04:00 |
|
Christopher Jeffrey
|
d489238711
|
mtx: allow multiple indicies for subtractIndex.
|
2017-11-04 12:16:28 -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
|
6bc8701f23
|
bcoin: some code cleanup.
|
2017-10-19 02:05:40 -07:00 |
|
Christopher Jeffrey (JJ)
|
a1ec1c255e
|
Merge pull request #307 from Bucko13/setpassphrase-fix
More consistent behavior around setting passphrase on unencrypted wallet
|
2017-10-18 22:44:02 -07:00 |
|
Christopher Jeffrey (JJ)
|
5ba79e4729
|
Merge pull request #316 from Bucko13/lock-coin-bug
use req.wallet for lock coin endpoints
|
2017-10-18 22:42:42 -07: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 (JJ)
|
bdeb72a035
|
Merge pull request #281 from Bucko13/import-key-passphrase
pass passphrase for key import
|
2017-10-18 22:30:10 -07:00 |
|
Christopher Jeffrey
|
57181f27ee
|
walletdb: increase bloom filter size to 3m addrs.
|
2017-10-18 12:58:22 -07:00 |
|
Christopher Jeffrey
|
4d8ca8c16f
|
db: change iterator api to be more loop-friendly.
|
2017-10-18 12:58:21 -07:00 |
|
Christopher Jeffrey
|
aeb3d8f352
|
http: minor fixes.
|
2017-10-18 12:58:21 -07:00 |
|
Bucko
|
e3ac717ada
|
use req.wallet for lock coin endpoints
|
2017-09-18 18:55:44 -07:00 |
|
Christopher Jeffrey
|
5f82c0d8c2
|
chain: alias all db methods. remove chainentry spaghetti code.
|
2017-09-06 10:20:40 -07:00 |
|
Christopher Jeffrey
|
b81643473e
|
encoding: refactor int64 handling.
|
2017-09-05 21:17:58 -07:00 |
|
Christopher Jeffrey
|
e0eb1cdbe3
|
refactor: remove all duck typing.
|
2017-09-02 21:29:38 -07:00 |
|
Bucko
|
778e118378
|
implement tux's fix for changing property name and more consistent behavior around setting passphrase on unencrypted wallet
|
2017-08-30 14:32:24 -07:00 |
|
Christopher Jeffrey
|
73b84cc1a7
|
lint: remove useless parens.
|
2017-08-27 16:50:23 -07:00 |
|
Christopher Jeffrey
|
3c2c8ea955
|
hd: pass purpose number to bip44 derivation. drop bip45 support.
|
2017-08-26 02:41:27 -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 |
|
Christopher Jeffrey
|
c6b76ec73f
|
Revert "wallet/mtx: add extraOutputs option."
This reverts commit 3957f83a59.
|
2017-08-26 00:13:24 -07:00 |
|
Christopher Jeffrey
|
3957f83a59
|
wallet/mtx: add extraOutputs option.
|
2017-08-25 15:10:30 -07:00 |
|
Christopher Jeffrey
|
d6ce66bce9
|
script: refactor script and stack mutation.
This allows more reasonable signing behavior and eliminates all polymorphism.
|
2017-08-24 17:34:20 -07:00 |
|
Node
|
82595b95eb
|
rpc: getbalance default minconf=1
|
2017-08-24 20:57:27 +04:00 |
|
Bucko
|
af32c5d4c2
|
pass passphrase for key import
|
2017-08-17 18:24:40 -07:00 |
|
Christopher Jeffrey (JJ)
|
fd5dcec680
|
Merge pull request #278 from Bucko13/wallet-options
add documentation for mnemonic option in wallet creation
|
2017-08-17 17:23:21 -07:00 |
|
Bucko
|
c3d8c6c377
|
add param for mnemonic in documentation for wallet creation options
|
2017-08-16 16:47:19 -07:00 |
|
Christopher Jeffrey
|
aec9474ba7
|
walletdb: use passed-in worker pool.
|
2017-08-09 15:45:02 -07:00 |
|
Christopher Jeffrey
|
edebc51d18
|
primitives: use equals instead of equal for consistency.
|
2017-08-09 15:25:01 -07: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
|
4ce070fad4
|
validation: use stricter validation for ints.
|
2017-08-06 14:43:22 -07:00 |
|
Christopher Jeffrey
|
cc1462f697
|
utils/util: reorganize functions.
|
2017-08-06 04:00:08 -07:00 |
|
Christopher Jeffrey
|
a290e6880d
|
encoding: rename read int methods to readIx.
|
2017-08-06 03:27:06 -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
|
2084e26d0d
|
wallet/http: fix signing.
|
2017-08-03 19:39:15 -07:00 |
|
Christopher Jeffrey
|
1d7b8ca7c1
|
http: better handling of api keys.
|
2017-08-01 01:38:36 -07:00 |
|
Christopher Jeffrey
|
1f38f36077
|
wallet: fix layout style.
|
2017-07-31 18:59:25 -07:00 |
|
Christopher Jeffrey
|
f58feb0035
|
wallet/http: fixes for deserialization.
|
2017-07-31 18:54:46 -07:00 |
|
Christopher Jeffrey
|
e38da91065
|
lint: no extra parens around !await.
|
2017-07-31 18:21:03 -07:00 |
|
Christopher Jeffrey
|
88ef28d837
|
lint: no implicit casting.
|
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
|
5eb6620431
|
lint: consistent return values.
|
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 |
|
Christopher Jeffrey
|
fbb2500281
|
layout: aggressive asserts.
|
2017-07-31 18:20:47 -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
|
02e4dda012
|
refactor: cleanup for..of loops.
|
2017-07-25 11:39:12 -07:00 |
|
Christopher Jeffrey
|
6f1f81dcbe
|
refactor: lint.
|
2017-07-25 11:21:43 -07:00 |
|
Christopher Jeffrey
|
d9a726a358
|
walletdb: use set for querying wallets by tx.
|
2017-07-25 11:19:53 -07:00 |
|
Christopher Jeffrey
|
2d74bda89b
|
wallet: refactor syncOutputDepth.
|
2017-07-25 05:34:44 -07:00 |
|
Christopher Jeffrey
|
7eefb773be
|
refactor: use maps and sets wherever possible.
|
2017-07-25 05:15:47 -07:00 |
|
Christopher Jeffrey
|
7ed36ec2ba
|
block: rename "abbr" methods to "head".
|
2017-07-25 00:08:28 -07:00 |
|
Christopher Jeffrey
|
23397dd753
|
refactor: change for..of loop usage.
|
2017-07-24 19:45:46 -07:00 |
|
Christopher Jeffrey
|
9219e23d8c
|
hd/wallet: add bip48 arg to prepare for bip48 support. see #238.
|
2017-07-23 07:22:53 -07:00 |
|
Christopher Jeffrey
|
b52a5e3fd2
|
node: add node.get() for plugins.
|
2017-07-17 14:26:43 -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
|
8f295a376d
|
workers: refactor exiting.
|
2017-07-17 14:26:40 -07:00 |
|
Christopher Jeffrey
|
296e65d0fd
|
refactor: use es6 template strings everywhere.
|
2017-07-17 14:26:39 -07:00 |
|
Christopher Jeffrey
|
3af014119a
|
refactor: switch to template strings for errors.
|
2017-07-17 14:26:38 -07:00 |
|
Christopher Jeffrey
|
c732333554
|
client: fix typo.
|
2017-07-17 14:26:38 -07:00 |
|
Christopher Jeffrey
|
10672784e5
|
refactor: rename tx functions. more es6 features.
|
2017-07-17 14:26:38 -07:00 |
|
Christopher Jeffrey
|
c651136d83
|
refactor: refactor clients.
|
2017-07-17 14:26:38 -07:00 |
|
Christopher Jeffrey
|
7f1b23223c
|
wallet: fix server workers.
|
2017-07-17 14:26:38 -07:00 |
|
Christopher Jeffrey
|
0ea25b0c1c
|
wallet: move nodeclient.
|
2017-07-17 14:26:38 -07:00 |
|
Christopher Jeffrey
|
074c065262
|
node: automatically bind to errors for plugins.
|
2017-07-17 14:26:38 -07:00 |
|
Christopher Jeffrey
|
8c7279518f
|
refactor: de-globalize workerpool.
|
2017-07-17 14:26:38 -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 |
|
Christopher Jeffrey
|
275580f4ac
|
refactor: fix linting for empty modules.
|
2017-06-28 13:04:04 -07:00 |
|
Christopher Jeffrey
|
24cd81a1bd
|
webpack: use -browser convention instead of aliases.
|
2017-06-28 12:45:38 -07:00 |
|
Christopher Jeffrey
|
be1ec1c22d
|
utils: refactor.
|
2017-06-27 09:28:37 -07:00 |
|
Christopher Jeffrey
|
62e7f97359
|
refactor: module index.
|
2017-06-27 09:28:18 -07:00 |
|
Christopher Jeffrey
|
d4cc22e1c5
|
refactor: crypto.
|
2017-06-27 07:27:53 -07:00 |
|
Christopher Jeffrey
|
2ef4d137e6
|
pkg: switch from jshint to eslint.
|
2017-06-24 04:45:46 -07:00 |
|
Christopher Jeffrey
|
84eccc29fa
|
refactor: switch to async/await. see #227.
|
2017-06-24 02:39:06 -07:00 |
|
Christopher Jeffrey
|
7129370b2b
|
walletkey: fix getType in toJSON.
|
2017-06-17 18:49:28 -07:00 |
|
Christopher Jeffrey
|
fcc468fb3c
|
txdb: fix txid() call.
|
2017-06-16 23:47:04 -07:00 |
|
Christopher Jeffrey
|
7c1786d584
|
rpc: minor.
|
2017-06-16 23:46:53 -07:00 |
|
Christopher Jeffrey
|
f04ad612b2
|
wallet: expose witness option over http.
|
2017-06-16 23:46:30 -07:00 |
|
Christopher Jeffrey
|
a3c7a49c80
|
refactor: replace util.equal with Buffer#equals.
|
2017-06-12 03:00:08 -07:00 |
|
Christopher Jeffrey
|
28cd43045d
|
refactor: avoid using new Buffer() due to its new perf implications.
|
2017-05-30 21:11:10 -07:00 |
|
Christopher Jeffrey
|
46b34677f1
|
address/wallet: refactor usage of Address.getHash.
|
2017-05-25 23:27:37 -07:00 |
|
Christopher Jeffrey
|
76c20eddf1
|
rpc: do not use Address.getHash.
|
2017-05-21 21:42:35 -07:00 |
|
Christopher Jeffrey
|
5ff46dd36d
|
wallet: more specific hd key functions.
|
2017-05-13 20:04:23 -07:00 |
|
Christopher Jeffrey
|
41d9493cc7
|
minor: lint.
|
2017-05-13 00:31:18 -07:00 |
|
Christopher Jeffrey
|
0ea341772c
|
address: make bech32 addrs more sane.
|
2017-05-13 00:21:51 -07:00 |
|
Christopher Jeffrey
|
1ae6205e24
|
wallet/http: remove admin check for now. see #185.
|
2017-05-12 15:57:01 -07:00 |
|
Christopher Jeffrey
|
2b970e2e40
|
wallet/http: treat sign call tx as an mtx. fixes #149.
|
2017-05-12 15:52:18 -07:00 |
|
Christopher Jeffrey
|
377017ba3d
|
walletdb: handle errors for plugin.
|
2017-05-03 19:29:45 -07:00 |
|
Christopher Jeffrey
|
ed4400acb9
|
address: start using from/toString.
|
2017-04-30 07:13:36 -07:00 |
|
Christopher Jeffrey
|
0429d56534
|
http: fix response for wallet join (no wallet auth).
|
2017-03-26 15:15:29 -07:00 |
|
Christopher Jeffrey
|
c0e4c169ba
|
http: more tests.
|
2017-03-15 20:38:04 -07:00 |
|
Christopher Jeffrey
|
0e5c542b49
|
rpc: minor.
|
2017-03-15 18:20:29 -07:00 |
|
Christopher Jeffrey
|
66c4fd8a77
|
rpc: better funding errors.
|
2017-03-15 06:55:00 -07:00 |
|
Christopher Jeffrey
|
1458366441
|
reader: better errors.
|
2017-03-15 06:49:46 -07:00 |
|
Christopher Jeffrey
|
3ae417795f
|
rpc: better error codes.
|
2017-03-15 06:13:27 -07:00 |
|
Christopher Jeffrey
|
a4e37cf9df
|
browser: fixes.
|
2017-03-14 08:07:42 -07:00 |
|
Christopher Jeffrey
|
42da82e007
|
wallet: fix tests and add compat routes.
|
2017-03-14 06:28:55 -07:00 |
|
Christopher Jeffrey
|
4674109706
|
node: refactor config options.
|
2017-03-14 06:10:37 -07:00 |
|
Christopher Jeffrey
|
c174bed58d
|
rpc: getmemoryinfo.
|
2017-03-14 06:10:37 -07:00 |
|
Christopher Jeffrey
|
f7853aa639
|
logger: better context handling.
|
2017-03-14 06:10:36 -07:00 |
|
Christopher Jeffrey
|
896ffdd3f5
|
masterkey: fix fromKeyRaw.
|
2017-03-14 06:10:35 -07:00 |
|
Christopher Jeffrey
|
eb601eece6
|
node: start using logger contexts.
|
2017-03-14 06:10:35 -07:00 |
|
Christopher Jeffrey
|
aa7e550f91
|
hd: do not store mnemonic on hd private key.
|
2017-03-14 06:10:35 -07:00 |
|
Christopher Jeffrey
|
2bd578fbe4
|
walletdb: minor.
|
2017-03-14 06:10:35 -07:00 |
|
Christopher Jeffrey
|
1a8a9afade
|
config/wallet: refactor config handling. add wallet server.
|
2017-03-14 06:10:35 -07:00 |
|
Christopher Jeffrey
|
b453898f6e
|
rpc: misc fixes.
|
2017-03-14 06:10:35 -07:00 |
|
Christopher Jeffrey
|
48066f1634
|
http: misc fixes.
|
2017-03-14 06:10:34 -07:00 |
|
Christopher Jeffrey
|
945fa381c5
|
refactor: mining.
|
2017-03-14 06:10:34 -07:00 |
|
Christopher Jeffrey
|
50d47dd5a6
|
rpc: method refactor. getwork refactor.
|
2017-03-14 06:10:34 -07:00 |
|
Christopher Jeffrey
|
78a4f379f5
|
rpc: add u32 validation. rename node rpc methods.
|
2017-03-14 06:10:34 -07:00 |
|
Christopher Jeffrey
|
59e9ef277a
|
http: make rpc more hookable.
|
2017-03-14 06:10:34 -07:00 |
|
Christopher Jeffrey
|
a47316c264
|
http: refactor node websocket api.
|
2017-03-14 06:10:34 -07:00 |
|
Christopher Jeffrey
|
5cbbdbfb2f
|
refactor: config, plugins, and walletdb.
|
2017-03-14 06:10:34 -07:00 |
|
Christopher Jeffrey
|
a81733a720
|
node/config: refactor config and options.
|
2017-03-14 06:09:29 -07:00 |
|
Christopher Jeffrey
|
a11344db0e
|
mempool: refactor fee estimation.
|
2017-03-01 09:53:10 -08:00 |
|
Christopher Jeffrey
|
9f09de4867
|
rpc/http/wallet: more aggressive validation for addrs/keys.
|
2017-02-28 14:52:54 -08:00 |
|
Christopher Jeffrey
|
29fe6468eb
|
db: do not use isBrowser for bufferKeys check. see #137.
|
2017-02-28 13:04:55 -08:00 |
|