pkg: update deps.

This commit is contained in:
Christopher Jeffrey 2017-12-29 15:45:35 -08:00
parent 6787c001d2
commit 78df4f4d84
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
3 changed files with 52 additions and 19 deletions

View File

@ -59,6 +59,15 @@ util.now = function now() {
return Math.floor(Date.now() / 1000);
};
/**
* Get current time in unix time (milliseconds).
* @returns {Number}
*/
util.ms = function ms() {
return Date.now();
};
/**
* Create a Date ISO string from time in unix time (seconds).
* @param {Number?} time - Seconds in unix time.

View File

@ -23,26 +23,26 @@
"node": ">=7.6.0"
},
"dependencies": {
"bcfg": "~0.0.0",
"bclient": "~0.0.0",
"bcrypto": "~0.0.0",
"bdb": "~0.0.0",
"bdns": "~0.0.0",
"bevent": "~0.0.0",
"bfile": "~0.0.0",
"bfilter": "~0.0.0",
"binet": "~0.0.0",
"blgr": "~0.0.0",
"bmutex": "~0.0.0",
"bcfg": "~0.0.1",
"bclient": "~0.0.1",
"bcrypto": "~0.0.1",
"bdb": "~0.0.1",
"bdns": "~0.0.1",
"bevent": "~0.0.1",
"bfile": "~0.0.1",
"bfilter": "~0.0.1",
"binet": "~0.0.1",
"blgr": "~0.0.1",
"bmutex": "~0.0.1",
"bn.js": "~4.11.8",
"bsock": "~0.0.0",
"bsocks": "~0.0.0",
"bstring": "~0.0.0",
"btcp": "~0.0.0",
"bufio": "~0.0.0",
"bupnp": "~0.0.0",
"bval": "~0.0.0",
"bweb": "~0.0.0",
"bsock": "~0.0.1",
"bsocks": "~0.0.1",
"bstring": "~0.0.1",
"btcp": "~0.0.1",
"bufio": "~0.0.1",
"bupnp": "~0.0.1",
"bval": "~0.0.1",
"bweb": "~0.0.1",
"n64": "~0.1.0"
},
"devDependencies": {

24
test/data/README.md Normal file
View File

@ -0,0 +1,24 @@
Multiple test vectors are based on Bitcoin Core.
The MIT License (MIT)
Copyright (c) 2009-2017 The Bitcoin Core developers
Copyright (c) 2009-2017 Bitcoin Developers
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.