Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream changes from bcoin:master #10

Merged
merged 543 commits into from
Jul 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
543 commits
Select commit Hold shift + click to select a range
e305d90
pkg: add currency and other info (#623)
bucko13 Nov 1, 2018
579a98a
address: minor fixes
nodech Nov 15, 2018
f97e3f3
readme: update browser link
Nov 16, 2018
8b6eba1
net: add testnet seeds (for browser)
pinheadmz Nov 16, 2018
d6ff2d7
README: https for docs links
pinheadmz Nov 22, 2018
32cba1b
mempool: reflect spent coins in mempool coinview.
nodech Nov 24, 2018
869b76c
pkg: update deps.
chjj Nov 28, 2018
1436c97
pkg: switch to bmocha.
chjj Nov 29, 2018
df1e8c0
pkg/circleci: remove instanbul from dev dependencies.
chjj Nov 29, 2018
b417323
pkg: minor.
chjj Nov 29, 2018
a916bfa
pkg: add lockfile
braydonf Nov 29, 2018
5b89151
docs/Configuration: SPV is command-line only
pinheadmz Nov 30, 2018
4181ee6
docs/Configuration: spv note lint
pinheadmz Nov 30, 2018
7b734cd
docs: update installation details and requirements
braydonf Nov 30, 2018
314933c
Merge pull request #642 from braydonf/pkg-lockfile
chjj Nov 30, 2018
8bfac6d
pkg: update bmocha.
chjj Dec 2, 2018
d88fa67
pkg: upgrade bmocha.
chjj Dec 3, 2018
46f2917
pkg: upgrade bmocha.
chjj Dec 5, 2018
c4d2539
docs/Configuration: include daemon in note
pinheadmz Dec 5, 2018
f35790a
Merge pull request #643 from pinheadmz/patch-7
tuxcanfly Dec 5, 2018
4e25ff8
pkg: upgrade bmocha.
chjj Dec 5, 2018
0639878
pkg: upgrade bmocha and bsert.
chjj Dec 8, 2018
0b70a94
test: get tests passing in chrome.
chjj Dec 8, 2018
6d48e41
Implement KeyRing.fromMultisigScript(script, i)
OrfeasLitos Dec 9, 2018
7a9023f
Add test for KeyRing.fromMultisigScript()
OrfeasLitos Dec 9, 2018
3377e65
spvnode: parse --no-wallet flag
pinheadmz Dec 10, 2018
2e47fb9
update link to bcoin docs
jlopp Dec 11, 2018
7268bc2
Merge pull request #653 from jlopp/updateWikiLink
tuxcanfly Dec 11, 2018
238b514
pkg: update deps.
chjj Dec 17, 2018
75de428
pkg: upgrade bmocha.
chjj Dec 17, 2018
208c408
pkg: upgrade bmocha (again).
chjj Dec 18, 2018
26a3d79
Merge pull request #638 from pinheadmz/patch-6
tuxcanfly Jan 1, 2019
54cdd16
Merge pull request #633 from pinheadmz/patch-4
tuxcanfly Jan 1, 2019
aaec50f
Merge pull request #652 from pinheadmz/patch-8
tuxcanfly Jan 4, 2019
b0bf2dd
Merge pull request #648 from OrfeasLitos/get-keys-from-multisig
tuxcanfly Jan 4, 2019
bd7a094
Merge pull request #632 from nodar-chkuaselidze/fix/addresses
tuxcanfly Jan 4, 2019
6f1a561
Merge pull request #641 from nodar-chkuaselidze/fix/mempool-index
tuxcanfly Jan 21, 2019
0a71b44
pkg: remove some files for now.
chjj Jan 13, 2019
4eaff26
pkg: update deps and lock file.
chjj Jan 22, 2019
f7b0cb8
lint: remove webpack files from eslintfiles.
nodech Jan 25, 2019
7f736db
Merge pull request #677 from nodar-chkuaselidze/fixlint
tuxcanfly Jan 28, 2019
48f38a4
networks: update regtest params
tuxcanfly Aug 20, 2018
53a09b0
networks: always activate segwit for regtest
tuxcanfly Oct 22, 2018
70886c3
networks: restore regtest ports
tuxcanfly Oct 22, 2018
b10aea8
bugfix: regtest segwit start time 0
Jan 25, 2019
127fea6
pool: disable discover with only
tuxcanfly Jan 31, 2019
fa87750
blockchain: enable segwit for regtest
braydonf Jan 31, 2019
3c1fda4
pool: fix this.options.discover
tuxcanfly Feb 1, 2019
a2e176d
Merge pull request #361 from tuxcanfly/only-no-seeds
tuxcanfly Feb 1, 2019
d86033f
test: update licenses for test files
nodech Oct 23, 2017
efa7810
script: update tx standardness rules and more tx tests
braydonf Feb 1, 2019
37fc9a7
script: update script tests and behavior
braydonf Feb 1, 2019
39684df
Merge pull request #676 from tynes/update-regtest
braydonf Feb 5, 2019
fea7483
docs: add only to configuration.md
pinheadmz Feb 7, 2019
d904496
http: identify node/wallet in log
pinheadmz Sep 4, 2018
da2084f
rpc: identify node/wallet in log
pinheadmz Feb 7, 2019
7303d28
wallet-rpc: log queries
pinheadmz Feb 7, 2019
f0806a5
rpc: remove handleError
pinheadmz Feb 7, 2019
4a634f1
Merge pull request #603 from pinheadmz/loghttp
braydonf Feb 7, 2019
fe5a6d7
wallet: improve logging (minor)
BluSyn Aug 10, 2018
35a25e0
protocol: clear regtest seeds
braydonf Feb 6, 2019
bb1ce25
wallet-http: create account: remove unused 'watch-only'
pinheadmz Nov 21, 2018
7c64fd8
Merge pull request #684 from braydonf/update-tests
tuxcanfly Feb 11, 2019
1696b3c
wallet: require pubkey for watchonly
pinheadmz Nov 23, 2018
0090c59
changelog: update for watch-only
pinheadmz Jan 4, 2019
bf32e86
test: independent watch-only tests and assert error
braydonf Feb 11, 2019
375965c
Merge pull request #639 from pinheadmz/watch
braydonf Feb 11, 2019
2cfb73e
bench: update and fix api and dependencies
braydonf Feb 1, 2019
a9193f0
mempool: fix malleability check in mempool
nodech May 27, 2018
f0023cb
test: mempool should reject non-standard p2sh
nodech Feb 14, 2019
f585d86
Merge pull request #470 nodar-chkuaselidze/fix/reject-cache
braydonf Feb 15, 2019
08b23c1
pkg: link bclient to bin
pinheadmz Feb 20, 2019
c8db665
bin: fully deprecate bcoin cli
pinheadmz Feb 20, 2019
67a258e
block: get wit-commit as buffer
pinheadmz Feb 12, 2019
ea1c6be
Merge pull request #700 pinheadmz/blockjson
braydonf Feb 23, 2019
de8b2f7
example: watch only wallet
Feb 3, 2019
d296c13
docs: update examples and readme
pinheadmz Jan 13, 2019
7e8c575
docs: remove miner example
pinheadmz Feb 28, 2019
a770c01
changelog: update with latest changes
braydonf Feb 15, 2019
c64ccf2
Merge pull request #699 pinheadmz/docsupdate
braydonf Feb 28, 2019
e736a7e
docs: formatting and consistency
braydonf Mar 1, 2019
38efc1a
changelog: formatting and consistency
braydonf Mar 1, 2019
da24f09
Merge pull request #707 pinheadmz/bclient-bin-2
braydonf Mar 1, 2019
4825ee6
Merge pull request #683 from braydonf/bench-updates
braydonf Mar 1, 2019
f13faa1
Merge pull request #702 from braydonf/changelog
braydonf Mar 1, 2019
a2bf18f
wallet: better wallet.send outputs error
pinheadmz Jan 8, 2019
e40e1c2
wallet-test: missing output error
pinheadmz Mar 1, 2019
07f5547
Merge pull request #664 from pinheadmz/patch-9
braydonf Mar 1, 2019
9aebfb7
rpc help list commands
rsbondi Feb 20, 2019
c1f5975
Merge pull request #705 from rsbondi/rpc-help
braydonf Mar 4, 2019
9472833
Merge pull request #713 from braydonf/docs
braydonf Mar 4, 2019
c0fb984
wallet: create non-templated transaction.
nodech Aug 5, 2018
1a18040
Merge pull request #557 from nodar-chkuaselidze/no-template
braydonf Mar 5, 2019
3ab296c
test: avoid port collision with a running regtest node
braydonf Mar 7, 2019
c65eec5
Merge pull request #719 from braydonf/tests
braydonf Mar 11, 2019
df4e287
utils: custom inspect for objects
pinheadmz Mar 4, 2019
5751b8c
rpc: multiple fixes and tests
pinheadmz Jul 19, 2018
2b2e53d
Merge pull request #550 from pinheadmz/rpcfixandtest
braydonf Mar 11, 2019
10292b0
test: document bech32 test vectors
Mar 15, 2019
9a56851
test: document valid addresses
Mar 20, 2019
a9ebeb3
blockchain: remove coin cache
braydonf Mar 21, 2019
11d7043
node-http: require filter to scan
pinheadmz Mar 26, 2019
26a2000
node rpc: update validateaddress
Mar 16, 2019
a28ffa2
wallet rpc: add getaddressinfo rpc command
Mar 19, 2019
6850a32
changelog: getaddressinfo, validateaddress
Mar 25, 2019
01a7156
Merge pull request #731 from tynes/validateaddress-upgrade
braydonf Mar 26, 2019
83639f1
util: fallback for inspect
pinheadmz Mar 27, 2019
0549065
npm scripts: delete webpack
Mar 30, 2019
2980b4e
http-test: socket rescan
pinheadmz Mar 26, 2019
6a01409
Merge pull request #739 from pinheadmz/scan
tuxcanfly Apr 2, 2019
434589e
Merge pull request #741 from tynes/remove-webpack-scripts
braydonf Apr 2, 2019
7ceb887
Merge pull request #736 from braydonf/coin-cache
braydonf Apr 2, 2019
1b868b6
util: reverse buffers instead of strings
pinheadmz Apr 2, 2019
fc7fd3c
bench: reverse hex string hash
pinheadmz Apr 5, 2019
7136c25
Merge pull request #745 from pinheadmz/hashstring
braydonf Apr 5, 2019
392b383
Merge pull request #715 from pinheadmz/inspect
braydonf Apr 5, 2019
f57bd51
Merge pull request #730 from tynes/document-bech32-tests
braydonf Apr 5, 2019
8435a11
blockstore: add file block storage
braydonf Feb 20, 2019
0609ce7
bench: add benchmarks for blockstore
braydonf Feb 21, 2019
620f21d
blockstore: await for level block store writes
braydonf Feb 28, 2019
64fb7c1
bench: add bench json output for blockstore
braydonf Feb 28, 2019
2d08b29
blockstore: recover from block write interrupt
braydonf Feb 28, 2019
abd2ae4
blockstore: prevent blocks writes at the same position
braydonf Feb 28, 2019
3cec13e
blockstore: add block data types with an undo type
braydonf Mar 6, 2019
6be2120
blockchain: integrate blockstore into chaindb
tuxcanfly Mar 6, 2019
8748e4d
migrate: move blocks to blockstore files
tuxcanfly Mar 6, 2019
11af545
blockstore: additional options and create function
braydonf Mar 7, 2019
0b0dd58
node: add blockstore to full node
braydonf Mar 7, 2019
89d3253
blockstore: add ensure method to create directories
braydonf Mar 7, 2019
8b6ec89
blockchain: use blockstore for undo coins
braydonf Mar 7, 2019
2ba3ee6
migrate: move block undo coins to blockstore
braydonf Mar 7, 2019
d1e747c
blockstore: minor, update comments and docs
braydonf Mar 7, 2019
bdcb392
blockchain: do not check blockstore with spv
braydonf Mar 12, 2019
0f0cb00
blockstore: minor, spelling
braydonf Mar 14, 2019
747a8e7
blockstore: tests and fixes for blockstore error cases
braydonf Mar 14, 2019
58e623e
test: minor, cleanup and clarity
braydonf Mar 14, 2019
5cbbcf5
blockstore: do not write block twice
braydonf Mar 15, 2019
8fc605c
blockstore: index after write interrupt and use less memory
braydonf Mar 15, 2019
961f6ed
blockstore: index undo blocks from files
braydonf Mar 18, 2019
6af6353
blockstore: add README and docs
tuxcanfly Mar 16, 2019
f24f64b
changelog: add blockstore changes and migration notes
braydonf Mar 18, 2019
f3e517c
blockstore: fix logger, improve messages
braydonf Mar 19, 2019
8337176
migrate: add time to migrate and compaction log message
braydonf Apr 3, 2019
41ce504
bcoin: expose blockstore module
braydonf Apr 3, 2019
83824d7
blockstore: optimize block read and index
braydonf Apr 4, 2019
3457ccc
blockchain: remove blocks after commit
braydonf Apr 4, 2019
50fe51c
blockstore: close file if write or read throws
braydonf Apr 4, 2019
5438357
test: configurable and unique test directory path
braydonf Apr 11, 2019
d601b6a
Merge pull request #703 from braydonf/blockstore
braydonf Apr 12, 2019
d5514d9
node-http: add check for height being below tip
kilpatty May 1, 2019
ff6570f
linter: cover docs/examples
pinheadmz May 2, 2019
b682076
blockchain: do not accept forked chain older than last checkpoint
braydonf May 1, 2019
c54abb7
Merge pull request #760 from kilpatty/node-http-reset-enforce
braydonf May 3, 2019
46f83fe
Merge pull request #763 from pinheadmz/docslint
braydonf May 3, 2019
812dc1a
Merge pull request #764 from braydonf/checkpoint
tuxcanfly May 6, 2019
4bc0bb2
chain: add fee overflow test; rename error
tuxcanfly May 6, 2019
49143b2
chain: reset consensus params on assert fail
tuxcanfly May 6, 2019
d53fa0a
chain: extend try..finally; restore consts to copy
tuxcanfly May 6, 2019
af19d80
Merge pull request #765 from tuxcanfly/fix-fee-overflow-err
braydonf May 6, 2019
07f7338
Replace 285 with 293 in blockstore README (#767)
OrfeasLitos May 12, 2019
eba7bbe
wallet: handle multiple conflicting inputs
braydonf May 14, 2019
81b840a
Merge pull request #769 from braydonf/wallet-tx-conflict
braydonf May 15, 2019
05794f5
indexer: add module indexer
tuxcanfly Jun 29, 2018
33de39c
migrate: remove txindex and addrindex from chaindb
tuxcanfly Mar 22, 2019
51ac4a7
changelog: add indexer to changelog
tuxcanfly Mar 22, 2019
9f89c79
indexer: work with blockstore
tuxcanfly Mar 20, 2019
f9aab08
indexer: add block position to tx
braydonf Mar 22, 2019
8bff122
indexer: use chain and blocks for indexer, remove chain client
braydonf Mar 22, 2019
b9e8c7b
changelog: merge blockstore and indexer changes
braydonf Mar 23, 2019
05d55ef
indexer: fix memory and cpu exhaustion for addrindex
braydonf Mar 23, 2019
7dc55c9
indexer: remove address coin index
braydonf Mar 25, 2019
32904c7
changelog: fix memory and cpu exhaustion for addrindex
braydonf Mar 25, 2019
7342952
migrate: update chaindb5to6 migration
tuxcanfly Mar 27, 2019
9f86dbc
chaindb: bump to v6
tuxcanfly Mar 27, 2019
aa3f02d
test: initial http tests for indexer
braydonf Mar 26, 2019
e2a6a92
addrindexer: index by address prefix
tuxcanfly Mar 28, 2019
93c6ff8
indexer: fix, simplify and rewrite indexer base
braydonf Apr 6, 2019
ebc40a5
indexer: trim disk usage for tx and addr indexes
braydonf Apr 15, 2019
06ef0e3
indexer: simplify addrindex query
braydonf Apr 15, 2019
4c8f11e
node: update http for addrindex
braydonf Apr 16, 2019
bd26dbf
mempool: update for addrindex
braydonf Apr 16, 2019
bb79760
node: add http indexer info
braydonf Apr 16, 2019
b37ac59
test: add utility to wait for values
braydonf Apr 16, 2019
80aaa14
test: add mempool index persistence test
nodech Apr 17, 2019
f30276b
test: add mempool indexing tests
nodech Apr 17, 2019
fae647b
indexer: simplify block meta and remove records
braydonf Apr 18, 2019
69e9844
test: cleanup and add txindex tests
braydonf Apr 18, 2019
b4be857
test: improve addrindex tests
braydonf Apr 18, 2019
865f740
test: add test for retroactively enabling indexer
braydonf Apr 19, 2019
efb2551
indexer: fix reset and reorg handling
braydonf Apr 19, 2019
5d18f9b
indexer: index the genesis block
braydonf Apr 23, 2019
cede31d
indexer: cleanup and check pruned and index options
braydonf Apr 23, 2019
ed06c21
indexer: check that blocks are connected
braydonf Apr 23, 2019
5111af0
migrate: update latest migration
tuxcanfly Apr 18, 2019
677b45f
migrate: upgrade from chaindb 4 to 6
braydonf Apr 24, 2019
a6fd1be
changelog: update with latest migration
braydonf Apr 24, 2019
ce16bc9
node: simplify index-prefix option
braydonf May 15, 2019
372b9f9
changelog: update with new indexer fields for info endpoint
braydonf May 15, 2019
662a68c
blockchain: cleanup deprecated methods
braydonf May 15, 2019
34e8f22
indexer: update and fix documentation
braydonf May 16, 2019
7e9d00a
node: pass options from `getTXByAddress` to `getMetaByAddress`
braydonf May 16, 2019
6c497d4
changelog: update and fix chain changes
braydonf May 16, 2019
7e49be2
Merge pull request #758 from braydonf/indexer
braydonf May 16, 2019
0f6ef91
addrindexer: use network for getPrefix.
nodech May 17, 2019
cdca51a
addrindexer: minor.
nodech May 17, 2019
4c49b08
Merge pull request #774 from nodar-chkuaselidze/indexer-minor
braydonf May 17, 2019
1fceb14
blockstore-test: use try/catch instead of promise.catch/finally.
nodech May 18, 2019
c2c16e2
Merge pull request #776 from nodar-chkuaselidze/blockstore-minor
braydonf May 18, 2019
091ba49
pkg: upgrade deps. update ignore and rc files.
nodech May 18, 2019
fc283ca
test: close worker pool. limit workers to 2.
nodech May 19, 2019
2a0a8ad
ci: switch to nyc.
nodech May 19, 2019
d32bb8f
ci: use bslint.
nodech May 21, 2019
6d2aca6
pkg: dedupe.
nodech May 24, 2019
55979c1
Merge pull request #777 from nodar-chkuaselidze/depupdates
braydonf May 25, 2019
9db43a7
test: add net packet, framer and common tests
braydonf May 21, 2019
4f76cfe
test: add net peer handler tests
braydonf May 22, 2019
357ad4c
test: start net pool handler tests
braydonf May 23, 2019
fbe64cf
test: add net pool getheaders, tx, and merkleblock handler tests
braydonf May 23, 2019
a35516d
Merge pull request #779 from braydonf/net-tests
braydonf May 25, 2019
87aaebc
node: use the same memory option
braydonf May 17, 2019
b725293
docs: fix memory option for examples
braydonf May 31, 2019
1721bdf
Merge pull request #775 from braydonf/memory
braydonf May 31, 2019
0551096
blockchain: fix spelling error
rustin-bot May 30, 2019
400d578
indexer: fix error message
braydonf Jun 5, 2019
f00985f
node: consistent rpc error messages
braydonf Jun 5, 2019
a3a34db
test: remove test assert util and use bsert
braydonf Jun 5, 2019
fb753a4
Merge pull request #788 from braydonf/test-assert
braydonf Jun 7, 2019
7828016
rpc-test: move wallet rpc tests to wallet-rpc-tests file.
nodech Jun 26, 2019
c7605ac
wallet-rpc-test: don't modify global coinbase.
nodech Jun 27, 2019
4542ec5
Merge pull request #804 from nodar-chkuaselidze/rpc-cleanup
braydonf Jun 27, 2019
618e3b1
docs: update max-inbound default
pinheadmz Jun 28, 2019
b14cd52
indexer: move hasRaw check to txindexer
Jun 13, 2019
f4b7400
indexer: add ability to track listeners and remove them on close for …
Jun 6, 2019
4f7e79b
Merge pull request #798 from bucko13/indexer-hasraw
braydonf Jul 3, 2019
fed7f29
Merge pull request #789 from bucko13/indexer-listeners
braydonf Jul 3, 2019
cec3c3e
Merge pull request #805 from docs-maxinbound
braydonf Jul 3, 2019
153da80
Merge remote-tracking branch 'bcoin/master' into bcoin-1.0.2
OstlerDev Jul 15, 2019
c670ef2
Fix things that were not merged properly
OstlerDev Jul 15, 2019
28dca48
Merge branch 'master' into bcoin-1.0.2
OstlerDev Jul 15, 2019
2bc297d
Use package @oipwg/fclient
OstlerDev Jul 18, 2019
2caeac5
Fix Difficulty Retargeting
OstlerDev Jul 18, 2019
f73c9d2
Add new checkpoints for Mainnet and Testnet
OstlerDev Jul 18, 2019
bad3388
Allow up to 101000 blocks to be batch requested
OstlerDev Jul 19, 2019
5a300e7
Allow low fees
OstlerDev Jul 19, 2019
84aabe2
Fix transaction signing
OstlerDev Jul 19, 2019
d0d750c
Increase mempool max orphans
OstlerDev Jul 19, 2019
15979ef
Use fcoin.conf
OstlerDev Jul 19, 2019
88fd2c1
Update tests to use fclient
OstlerDev Jul 19, 2019
c388d4c
Add mainnet seed
OstlerDev Jul 23, 2019
a065661
Update mainnet checkpoint and slowHeight
OstlerDev Jul 24, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 0 additions & 17 deletions .babelrc

This file was deleted.

59 changes: 59 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
defaults: &defaults
working_directory: ~/repo
docker:
- image: circleci/node:10.2

version: 2.0
jobs:
install:
<<: *defaults
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package-lock.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run: npm install
- run: npm install bslint nyc codecov
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package-lock.json" }}
- persist_to_workspace:
root: .
paths: .

test:
<<: *defaults
steps:
- attach_workspace:
at: .
- run:
name: Tests with coverage
command: npm run test-ci
- run:
name: Submit coverage
command: ./node_modules/.bin/codecov

lint:
<<: *defaults
steps:
- attach_workspace:
at: .
- run:
name: Lint
command: npm run lint-ci

workflows:
version: 2
test_and_lint:
jobs:
- install
- lint:
requires:
- install
- test:
requires:
- install
7 changes: 2 additions & 5 deletions .eslintfiles
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@ bin/spvnode
bin/wallet
browser/server.js
browser/wsproxy.js
examples/
browser/src/app.js
lib/
migrate/
scripts/
test/
webpack/
webpack.browser.js
webpack.compat.js
webpack.node.js
docs/examples
58 changes: 56 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,53 @@
"node": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readable",
"BigInt": "readable",
"BigInt64Array": "readable",
"BigUint64Array": "readable",
"queueMicrotask": "readable",
"SharedArrayBuffer": "readable",
"TextEncoder": "readable",
"TextDecoder": "readable"
},
"overrides": [
{
"files": ["*.mjs"],
"parserOptions": {
"sourceType": "module"
}
},
{
"files": ["*.cjs"],
"parserOptions": {
"sourceType": "script"
}
},
{
"files": [
"test/{,**/}*.{mjs,cjs,js}"
],
"env": {
"mocha": true
},
"globals": {
"register": "readable"
},
"rules": {
"max-len": "off",
"prefer-arrow-callback": "off"
}
}
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 8
"ecmaVersion": 10,
"ecmaFeatures": {
"globalReturn": true
},
"requireConfigFile": false,
"sourceType": "script"
},
"root": true,
"rules": {
Expand All @@ -27,11 +72,20 @@
}],
"func-name-matching": "error",
"indent": ["off", 2, {
"ArrayExpression": "off",
"SwitchCase": 1,
"CallExpression": {
"arguments": "off"
},
"ArrayExpression": "off"
"FunctionDeclaration": {
"parameters": "off"
},
"FunctionExpression": {
"parameters": "off"
},
"MemberExpression": "off",
"ObjectExpression": "off",
"ImportDeclaration": "off"
}],
"handle-callback-err": "off",
"linebreak-style": ["error", "unix"],
Expand Down
17 changes: 11 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
node_modules/
docs/reference/
docker_data/
browser/bcoin*
npm-debug.log
.DS_Store
node_modules/
.nyc_output
docs/reference/
docker_data/
browser/bcoin*
npm-debug.log
coverage/
yarn.lock
webpack.*.js
.DS_Store
tmp
19 changes: 14 additions & 5 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
.babel*
.bmocharc*
.bpkgignore
.editorconfig
.eslint*
.git*
bench/
docs/
docker_data/
test/
.mocharc*
.yarnignore
yarn.lock
node_modules/
browser/bcoin*
package-lock.json
npm-debug.log
webpack.*.js
browser/bcoin*
bench/
build/
docs/
test/
Loading