Commit Graph

4220 Commits

Author SHA1 Message Date
Christopher Jeffrey
efca42b138
wallet: migrate paths. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
e2ef35b24b
wallet: more migrations. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
0055c82f22
migrate: add walletdb 6-to-7 migration. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
f99064750a
net: move netaddress. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
5ea218b373
bcoin: require bn.js directly. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
3c82ac0486
bcoin: use util.revHex again. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
f2abdf68cb
bcoin: move encoding constants around. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
9b269dd1f0
script: remove mast. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
163e89fc29
bcoin: lint. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
bad24a6f31
workers: classify. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
f313ca166d
wallet: classify. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
9240d2f827
protocol: classify. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
93fe6669bf
node: classify. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
4ebfb5d9ff
net: classify. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
8be995bd78
miner: classify. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
5c8a755d63
mempool: classify. 2018-03-29 21:56:49 -07:00
Christopher Jeffrey
32b81f0d95
btc: classify. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
51e3341252
script: classify. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
91ee6077b1
lru: minor. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
405feef9ce
bcoin: clean up requires. 2018-03-29 21:56:48 -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
6a5d5c1e48
chain: no return await. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
3565d5dfe7
chaindb: minor. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
280d5d38e5
net/miner/hd: classify. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
daa55a05bc
primitives: classify primitives. 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
3c3f6b953c
network/fees: minor. 2018-03-29 21:56:48 -07:00
Christopher Jeffrey
7bdd6e3519
minor: s/breq/brq/g 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
73892701e8
utils: switch to bevent. 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
4535cd1827
utils: start using bmutex. 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
a79c2b0b1a
bcoin: start switching to class syntax. 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
8332b93721
utils: remove dependence on co. 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
277ac9a62a
net: start using bsocks and bupnp. 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
ce8b6f483f
net: start using btcp and bdns. 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
424370bc1f
utils: stop using asyncobject. 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
401829db5a
node: start using blgr and bcfg. 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
77403b0a3e
utils: start using binet. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
d4685e6e6c
utils: start using bstr. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
41925d495c
utils: start using bbuf. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
e92b1f4cec
utils: start using bfilter. 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
8ef82606e1
bcoin: cleanup. remove rbt. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
79260891e4
hd: move nfkd to hd directory. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
d1e4be8343
bcoin: use bdb. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
771a4ef17f
wallet: client refactor. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
aedbe27b6e
wallet: rename some methods. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
eaf2fa5ea2
wallet: add logs. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
b39554fa98
txdb: minor. 2018-03-29 21:56:45 -07:00
Christopher Jeffrey
37fdc7c08b
cli: improve wallet support. 2018-03-29 21:56:45 -07:00
Christopher Jeffrey
11ac46e051
wallet/client: different parsing solution. 2018-03-29 21:56:45 -07:00
Christopher Jeffrey
a313ac244c
wallet/client: fix arg parsing. 2018-03-29 21:56:45 -07:00
Christopher Jeffrey
749d4edc11
wallet: fixes for wallet server. 2018-03-29 21:56:45 -07:00
Christopher Jeffrey
877cecbedc
config: fix env parsing. 2018-03-29 21:56:45 -07:00
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
1a5782fa06
script: do not use util.reverse. 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
c84afad1f6
http: use bsock instead of socket.io. 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
d7d390afb9
Revert "Fix confirmations not found"
This reverts commit e59ed00b57.
2018-03-29 21:56:34 -07:00
Christopher Jeffrey
9967f780df
Revert "http: fix block call."
This reverts commit 4ff93746a0.
2018-03-29 21:56:26 -07:00
Christopher Jeffrey
31651ce76e
Revert "mtx: allow multiple indicies for subtractIndex."
This reverts commit d489238711.
2018-03-29 21:55:36 -07:00
Christopher Jeffrey
d489238711
mtx: allow multiple indicies for subtractIndex. 2017-11-04 12:16:28 -07:00
Christopher Jeffrey
4ff93746a0
http: fix block call. 2017-11-04 12:16:28 -07:00
Buck
68b3ddf482 fixed outpoint bug and added first test 2017-11-03 14:51:37 -07:00
Node
e59ed00b57
Fix confirmations not found 2017-10-20 15:00:56 +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)
a4858e274b Merge pull request #295 from Bucko13/segwit-keyring
pass options on keyring creation
2017-10-18 22:40:08 -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)
c44293acd8 Merge pull request #282 from nodar-chkuaselidze/fix/createrawtransaction
RPC: Create/Sign Raw Transaction fix
2017-10-18 22:31:23 -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 (JJ)
9098d4dcd6 Merge pull request #298 from nodar-chkuaselidze/fix/rpc-verifytxoutproof
rpc: fix verifytxoutproof
2017-10-18 22:25:50 -07:00
Christopher Jeffrey (JJ)
61906d7564 Merge pull request #300 from tuxcanfly/passphrase-fix
client: use 'new' passphrase param
2017-10-18 22:24:03 -07:00
Christopher Jeffrey (JJ)
8883da8a7d Merge pull request #308 from Bucko13/createTX-signature
remove outputs from function signature
2017-10-18 13:20:53 -07:00