Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dashevo/dashcore-lib

Package Overview
Dependencies
Maintainers
11
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dashevo/dashcore-lib - npm Package Compare versions

Comparing version 0.16.8 to 0.16.9

docs/mnemonic.md

6

docs/transaction.md

@@ -178,3 +178,9 @@ # Transaction

## Simple Transaction
Since v0.13, simple transactions (having no more than 4 inputs), are entitled to an auto Instant Send upgrade (if mempool size is less than 10% full).
A method `isSimpleTransaction()` will simplify that verification for you.
## Upcoming changes
We're debating an API for Merge Avoidance, CoinJoin, Smart contracts, CoinSwap, and Stealth Addresses. We're expecting to have all of them by some time in 2015. Payment channel creation is available in the [dashcore-channel](https://github.com/dashevo/dashcore-channel) module.

@@ -67,2 +67,3 @@ /* eslint-disable */

var SPECIAL_TRANSACTION_ACTIVATION_VERSION = 3;
var SIMPLE_TRANSACTIONS_MAX_INPUTS = 4;
var DEFAULT_NLOCKTIME = 0;

@@ -1305,2 +1306,11 @@ var MAX_BLOCK_SIZE = 1000000;

/**
* Returns true if this transaction is qualified to be a simple transaction to the network (<= 4 inputs).
* @returns {boolean}
*/
Transaction.prototype.isSimpleTransaction = function() {
return this.inputs.length <= SIMPLE_TRANSACTIONS_MAX_INPUTS;
};
/* DIP2 special transaction methods */

@@ -1307,0 +1317,0 @@

2

package.json
{
"name": "@dashevo/dashcore-lib",
"version": "0.16.8",
"version": "0.16.9",
"description": "A pure and powerful JavaScript Dash library.",

@@ -5,0 +5,0 @@ "author": "Dash Core Group, Inc. <dev@dash.org>",

@@ -87,2 +87,3 @@ # Dashcore Library

* [Hierarchically-derived Private and Public Keys](docs/hierarchical.md)
* [Mnemonic](docs/mnemonic.md)
* [Networks](docs/networks.md)

@@ -89,0 +90,0 @@ * [PrivateKey](docs/privatekey.md)

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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