Skip to content

Commit

Permalink
pkg: update deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Mar 30, 2018
1 parent 6787c00 commit 78df4f4
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 19 deletions.
9 changes: 9 additions & 0 deletions lib/utils/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
24 changes: 24 additions & 0 deletions test/data/README.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 78df4f4

Please sign in to comment.