Commit Graph

5039 Commits

Author SHA1 Message Date
Nodar Chkuaselidze
32cba1bf4a
mempool: reflect spent coins in mempool coinview.
Currently coinview does not account for spent coins in the mempool,
This does not create problems because we have additional checks in
right places which detect double spends, but technically
coinview should help you detect double spent in the mempool as well.
This way it will be compatible with chain.getCoinView.

getSpentView will still return all outputs that are available
in the mempool. (This could also return spentView from indexers if
available, this method is used by `signrawtransaction`.)
2018-11-25 23:32:13 +04:00
Matthew Zipkin
d6ff2d7ef4
README: https for docs links 2018-11-22 09:35:28 -08:00
Matthew Zipkin
8b6eba165b
net: add testnet seeds (for browser)
bcoin browser mode can not use DNS to discover seeds, so they are hard-coded.
see: https://github.com/bcoin-org/bdns/blob/master/lib/dns-browser.js#L23
There's already plenty in `/lib/net/seeds/main.js` so this is just to get browser-nodes running on testnet.
Seeds were pulled from my own `hosts.json` file on a live testnet bcoin node
2018-11-15 17:22:23 -08:00
Buck Perley
f97e3f3225
readme: update browser link 2018-11-15 16:02:25 -08:00
Nodar Chkuaselidze
579a98a531
address: minor fixes 2018-11-15 17:39:25 +04:00
Buck Perley
e305d900d6
pkg: add currency and other info (#623)
matches expected outputs from hsd
2018-11-01 12:44:08 -07:00
Matthew Zipkin
78eeae6763 browser: update script import (#622)
* browser: update since refactor

* docs: redirect browser to new guide
2018-11-01 11:58:28 -07:00
Javed Khan
fe340265c8
Merge pull request #444 from nodar-chkuaselidze/wallet-api/create-tx
Allow optional signing in createTX http endpoint
2018-10-19 23:22:54 +05:30
Javed Khan
125e8182fd
Merge pull request #614 from tuxcanfly/fix-lint
circleci: fix eslint
2018-10-04 09:51:55 +05:30
Javed Khan
d3ec72526e
circleci: fix eslint 2018-10-04 07:54:04 +05:30
Javed Khan
625edb9579
Merge pull request #604 from nodar-chkuaselidze/ci-updates
pkg: update ci
2018-09-30 21:40:34 +05:30
Christopher Jeffrey
e0863d4a91
deps: upgrade to bcrypto 2.0. upgrade other deps. 2018-09-29 14:38:53 -07:00
Javed Khan
8630a8ee51
Merge pull request #396 from tuxcanfly/sigint-close
bin: handle close when interrupted
2018-09-17 23:57:48 +05:30
Javed Khan
beb7f8fb1d
node: move closed message to handleClose 2018-09-17 23:54:36 +05:30
Javed Khan
b18a8a3f13
bin: handle close when interrupted 2018-09-17 23:54:34 +05:30
Javed Khan
fcba00ef5b
Merge pull request #609 from pinheadmz/patch-3
spvnode: add new option `file` instead of config
2018-09-13 22:47:14 +05:30
Matthew Zipkin
e6b3697784
spvnode: add new option file instead of config
Addresses #608 and extends #563
2018-09-13 09:38:31 -07:00
Nodar Chkuaselidze
a411e31c62
pkg: update ci
Use cache only when installing
Use workspaces to share node_modules
2018-09-07 18:42:29 +04:00
Javed Khan
15b024a392
Merge pull request #598 from pinheadmz/broadcasttx
Fixes pool.getBroadcasted() error item.hash is not a function
2018-08-31 22:06:53 +05:30
Matthew Zipkin
7d2caa072b
pool: fixes getBroadcasted() error 2018-08-31 09:30:40 -07:00
Javed Khan
91db3a55ac
Merge pull request #596 from tuxcanfly/fix-addr-gethash-2
pool: watchAddress continue to accept addr string
2018-08-30 22:39:38 +05:30
Javed Khan
f01e2fb626
pool: watchAddress continue to accept addr string 2018-08-29 23:18:28 +05:30
Javed Khan
1bde15b9a2
Merge pull request #593 from bucko13/webpack-compat
remove bcrypto/compat from compat webpack
2018-08-28 23:25:50 +05:30
Matthew Zipkin
149558072d docs: Different formats for parameters (#592) 2018-08-28 10:11:07 -07:00
bucko13
0ecee1bfaa
remove bcrypto/compat from compat webpack 2018-08-27 17:47:01 -07:00
Javed Khan
e4f41db5ab
Merge pull request #576 from braydonf/ac
Tab completion of API in Node.js REPL
2018-08-27 22:26:19 +05:30
Javed Khan
8d2d795e78
Merge pull request #588 from bucko13/webpack-fix
remove bcrypto/compat
2018-08-25 11:57:33 +05:30
bucko13
656c942758
remove bcrypto/compat 2018-08-24 13:57:13 -07:00
Javed Khan
3e87598dfe
Merge pull request #587 from braydonf/getnewaddress
wallet: get correct address for `getnewaddress` rpc
2018-08-25 01:49:56 +05:30
Braydon Fuller
fb9cee7176 wallet: get correct address for getnewaddress rpc 2018-08-24 13:07:04 -07:00
Javed Khan
ac0179ca9b
Merge pull request #581 from tuxcanfly/fix-addr-gethash
http: fix address/coins by address to use Address instead of string
2018-08-25 01:23:20 +05:30
Javed Khan
175ff7906d
http: use Address instead of string 2018-08-25 00:22:12 +05:30
Matthew Zipkin
7178d9b2cd docs: describes wallet- prefix for CLI config (#584)
Had a few support chats about connecting to a remote bcoin server from a local client.
Indicating here how to launch bcoin with node and wallet configs in one line.
Also users might not realize that you can run bclient on its own locally,
and the config files are still in the same place as bcoin itself.
2018-08-22 09:37:16 -07:00
Ron Gross
0e799eb2db
docs: fix npm install windows-build-tools
Fixes #522
2018-08-20 21:28:08 +05:30
ATheCoder
9dba78d2bb
docs: configuration - add spv option
Fixes #476
2018-08-20 20:34:23 +05:30
Braydon Fuller
0e93cbaec4 bcoin: enumerate properties 2018-08-17 14:58:49 -07:00
Javed Khan
b3fd9656f9
Merge pull request #563 from tuxcanfly/fix-config-file
multi: pass new Node option `file` to wallet plugin
2018-08-13 17:50:39 +05:30
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
f4bf9816a5
Merge pull request #566 from tuxcanfly/fix-lint
multi: fix lint warnings
2018-08-13 17:34:34 +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
92feb1be52
node: do not alter pool size. 2018-08-10 16:27:19 -07:00
Christopher Jeffrey
a15b1e2d62
net: remove redundant item resolving. 2018-08-10 16:25:38 -07:00
Christopher Jeffrey
acecd5ee37
pkg: update deps. 2018-08-10 16:24:10 -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
5b56323310
pkg: update deps. 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
189da2968b
pkg: update deps. 2018-08-10 16:24:10 -07:00