|
|
@ -134,12 +134,7 @@ Transaction.prototype.uncheckedSerialize = Transaction.prototype.toString = func |
|
|
|
* Retrieve a hexa string that can be used with bitcoind's CLI interface |
|
|
|
* (decoderawtransaction, sendrawtransaction) |
|
|
|
* |
|
|
|
* @param {Object} opts allows to skip certain tests: |
|
|
|
* * `disableSmallFees`: disable checking for fees that are too small |
|
|
|
* * `disableLargeFees`: disable checking for fees that are too large |
|
|
|
* * `disableIsFullySigned`: disable checking if all inputs are fully signed |
|
|
|
* * `disableDustOutputs`: disable checking if there are no outputs that are dust amounts |
|
|
|
* * `disableMoreOutputThanInput`: disable checking if the transaction spends more bitcoins than the sum of the input amounts |
|
|
|
* @param {Object} opts allows to skip certain tests. {@see Transaction#serialize} |
|
|
|
* @return {string} |
|
|
|
*/ |
|
|
|
Transaction.prototype.checkedSerialize = function(opts) { |
|
|
@ -153,12 +148,7 @@ Transaction.prototype.checkedSerialize = function(opts) { |
|
|
|
/** |
|
|
|
* Retrieve a possible error that could appear when trying to serialize and broadcast this transaction |
|
|
|
* |
|
|
|
* @param {Object} opts allows to skip certain tests: |
|
|
|
* * `disableSmallFees`: disable checking for fees that are too small |
|
|
|
* * `disableLargeFees`: disable checking for fees that are too large |
|
|
|
* * `disableIsFullySigned`: disable checking if all inputs are fully signed |
|
|
|
* * `disableDustOutputs`: disable checking if there are no outputs that are dust amounts |
|
|
|
* * `disableMoreOutputThanInput`: disable checking if the transaction spends more bitcoins than the sum of the input amounts |
|
|
|
* @param {Object} opts allows to skip certain tests. {@see Transaction#serialize} |
|
|
|
* @return {bitcore.Error} |
|
|
|
*/ |
|
|
|
Transaction.prototype.getSerializationError = function(opts) { |
|
|
|