Commit Graph

4316 Commits

Author SHA1 Message Date
Braydon Fuller
fb9cee7176 wallet: get correct address for getnewaddress rpc 2018-08-24 13:07:04 -07:00
Javed Khan
175ff7906d
http: use Address instead of string 2018-08-25 00:22:12 +05:30
Braydon Fuller
0e93cbaec4 bcoin: enumerate properties 2018-08-17 14:58:49 -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
f10d7b8363
pkg: remove bn.js dependency. 2018-08-10 16:33:38 -07:00
Christopher Jeffrey
85ed59c842
pool: fix handleGetBlocks. 2018-08-10 16:28:23 -07:00
Christopher Jeffrey
a15b1e2d62
net: remove redundant item resolving. 2018-08-10 16:25:38 -07:00
Christopher Jeffrey
dc5b8c373d
net: properly clear timers. 2018-08-10 16:24:10 -07:00
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
Braydon Fuller
7ea95b5795 net: revolve pending broadcast items
If `pool.close()` is called if the pool is not connected, timers
won't be cleared. Transactions can be added to the pool while
it's not connected.
2018-08-06 10:18:07 -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
Christopher Jeffrey
58ea98dadb
v1.0.2 2018-07-13 13:29:16 -07:00
Christopher Jeffrey
7647145614
networks: add one more checkpoint for testnet. 2018-07-13 13:28:58 -07:00
Christopher Jeffrey
da944371fb
v1.0.1 2018-07-13 13:17:03 -07:00
Christopher Jeffrey
08a04b53c3
net: update default mainnet seeds. 2018-07-13 12:57:29 -07:00
Christopher Jeffrey
44e856d36b
networks: update checkpoints and chainwork. 2018-07-13 12:57:12 -07:00
Christopher Jeffrey
b0155b663c
v1.0.0 2018-07-12 10:20:50 -07:00
Christopher Jeffrey
e15d7917fa
mtx: allow passing of preferred inputs to coin selector. 2018-07-12 10:17:13 -07:00
Christopher Jeffrey
cfeacb309e
chain: mark historical bad merkle block as mutable. 2018-07-12 10:17:13 -07:00
Christopher Jeffrey
41af7acfd6
net: remove bip150/bip151 support. 2018-07-12 10:17:13 -07:00
Christopher Jeffrey
b6d067ec93
consensus: fail early on pow check when target > 256 bits. 2018-07-12 10:17:12 -07:00
Christopher Jeffrey
05c38853d7
net: add more aggressive dos prevention. 2018-07-12 10:17:12 -07:00
Christopher Jeffrey
22830cf6f3
chain: earlier sanity checks. 2018-07-12 10:16:58 -07: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
Matthew Zipkin
64ba4c7567 txmeta: fix JSON confirmations value when unconfirmed, add test 2018-07-03 11:30:50 +05:30
Buck Perley
f00ed98eea
Merge pull request #487 from bucko13/sort-outputs
pass sort option through http
2018-06-14 10:23:25 -07:00
bucko13
3a49d53372 pass sort option through http 2018-06-13 10:40:11 -07:00
Christopher Jeffrey
0977c5c133
net: fix nonce creation. 2018-06-08 04:16:59 -07:00
bucko13
50263dfc0b add account option to create and send 2018-05-01 17:39:42 -07:00
Christopher Jeffrey
a85ff2bbe9
pool: fix public port option. 2018-04-06 16:15:10 -07:00
Christopher Jeffrey
0c3657e167
networks: update checkpoints. 2018-04-06 16:15:10 -07:00
Christopher Jeffrey (JJ)
9fb9b1c4ad
Merge pull request #440 from nodar-chkuaselidze/mtx/from-json
MTX - Recover view from JSON
2018-04-06 16:12:35 -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
Christopher Jeffrey (JJ)
a0333d105c
Merge branch 'master' into outpoint-tests 2018-04-06 15:56:39 -07:00
Nodar Chkuaselidze
916d42af57
mtx: receover view from JSON 2018-04-06 11:02:03 -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
Orfeas Stefanos Thyfronitis Litos
2b0e5f5935
Document sendTX() return value 2018-03-29 22:12:01 -07:00
Orfeas Stefanos Thyfronitis Litos
8f3de71719
Handle broadcast() errors in sendTX()
Replace this.pool.broadcast(tx) with this.broadcast(tx) in case of a
selfish node because the latter handles broadcast errors, whereas the
former does not.
2018-03-29 22:11:50 -07:00
Orfeas Stefanos Thyfronitis Litos
c15cfbc081
Correct scriptVector() return value to {Stack}
The previously documented return value was {Boolean}.
2018-03-29 22:10:09 -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
Javed Khan
37a1d02e76
networks: update simnet bech32 prefix 2018-03-29 22:06:48 -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
8c609c6e9e
pkg: update deps. fix utils index. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
c388498ab0
pkg: update deps. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
319ec82997
wallet: fix depth incrementation. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
bd76939f4c
pkg: update bcrypto. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
ec876215a6
bip152: minor. 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
Christopher Jeffrey
febc55b586
minor: lint. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
f1672a8b86
types: cleanup types. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
5b448b5bce
wallet: add wid->id index. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
1474d49231
script: remove useless vars. 2018-03-29 21:56:52 -07:00
Christopher Jeffrey
78df4f4d84
pkg: update deps. 2018-03-29 21:56:52 -07:00
Christopher Jeffrey
6787c001d2
build: improve no-compat webpack build. 2018-03-29 21:56:52 -07:00
Christopher Jeffrey
761ae4a80c
browser: fix error display. 2018-03-29 21:56:52 -07:00
Christopher Jeffrey
94fd001e88
wallet/http: require admin token. 2018-03-29 21:56:52 -07:00
Christopher Jeffrey
09b9f94a70
pkg: minor. 2018-03-29 21:56:52 -07:00
Christopher Jeffrey
c63e977ccf
chaindb: minor. 2018-03-29 21:56:52 -07:00
Christopher Jeffrey
d5a2609f75
peer: add reverse dns lookup. 2018-03-29 21:56:52 -07:00
Christopher Jeffrey
03ddc79dfc
script/address: fix addr checking for nested p2sh inputs. 2018-03-29 21:56:52 -07:00
Christopher Jeffrey
2054524fd7
bcoin: get browserify working. 2018-03-29 21:56:52 -07:00
Christopher Jeffrey
11c7dab3c4
browser: improve webpack build. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
e4ad8b457f
net: update seed list. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
99a7eb5fa5
wallet/bcoin: refactor exposure. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
425b8780f7
wallet: better option parsing for wallet plugin. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
cd7c63d95d
wallet: always use separate http server. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
fcb3a10318
net: use bdns to resolve ip address. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
30597b83f6
wallet: refactor. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
aa3988aa2f
wallet/hostlist: minor. 2018-03-29 21:56:51 -07:00
Christopher Jeffrey
417b37b0c3
db: remove backend option. 2018-03-29 21:56:51 -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
83e1de2e98
db: stop relying on 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
aa115c2e9d
wallet: refactor removal. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
a43a2102e6
masterkey: minor. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
9dc6ebd8cf
wallet: add removing wallet functionality. 2018-03-29 21:56:50 -07:00
Christopher Jeffrey
86dc53f9dd
wallet: smarter path serialization. 2018-03-29 21:56:50 -07:00
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