New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dashevo/dash-spv

Package Overview
Dependencies
Maintainers
7
Versions
266
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dashevo/dash-spv - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7-0

.eslintignore

10

config/config.js

@@ -38,2 +38,12 @@ const DashUtil = require('@dashevo/dash-util');

},
getRegtestGenesis() {
return utils.normalizeHeader({
version: 1,
previousblockhash: '0000000000000000000000000000000000000000000000000000000000000000',
merkleroot: 'e0028eb9648db56b1ac77cf090b99048a8007e2bb64b68f092c03c7f56a662c7',
time: 1390666206,
bits: '1e0ffff0',
nonce: 3861367235,
});
},
getLivenetGenesis() {

@@ -40,0 +50,0 @@ throw Error('Livenet genesis not yet implemented');

@@ -35,2 +35,10 @@ const BlockStore = require('./blockstore');

break;
case 'regtest':
this.network = 'regtest';
if (startBlock) {
this.root = startBlock;
break;
}
this.root = config.getRegtestGenesis();
break;
case 'livenet':

@@ -37,0 +45,0 @@ this.network = 'mainnet';

20

package.json
{
"name": "@dashevo/dash-spv",
"version": "1.1.6",
"description": "Temporary repo until spv functions moved into dashcore-lib",
"version": "1.1.7-0",
"description": "Repository containing SPV functions used by @dashevo",
"main": "index.js",

@@ -15,14 +15,14 @@ "scripts": {

"@dashevo/dark-gravity-wave": "^1.1.1",
"@dashevo/dashcore-lib": "^0.17.4",
"@dashevo/dash-util": "^2.0.3",
"levelup": "^4.0.1",
"memdown": "^3.0.0"
"@dashevo/dashcore-lib": "~0.19.39",
"levelup": "^4.4.0",
"memdown": "^5.1.0"
},
"devDependencies": {
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.17.3",
"mocha": "^5.2.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.24.2",
"mocha": "^9.1.2",
"should": "^13.2.3"
}
}
}
# dash-spv
> Temporary repo until spv functions moved into dashcore-lib
Set of SPV function used by js-dapi-client package
No new features should be added to this repo.
## License
[MIT](LICENSE) © Dash Core Group, Inc.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc