@psf/bch-js 6.7.1 → 6.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/blockchain.js +3 -0
- package/src/electrumx.js +2 -0
- package/src/utxo.js +2 -0
package/package.json
CHANGED
package/src/blockchain.js
CHANGED
|
@@ -197,6 +197,9 @@ class Blockchain {
|
|
|
197
197
|
)
|
|
198
198
|
return response.data
|
|
199
199
|
} catch (error) {
|
|
200
|
+
console.log('Error in bch-js/blockchain.js/getBlockCount()')
|
|
201
|
+
console.log('blockchain.js restURL: ', this.restURL)
|
|
202
|
+
|
|
200
203
|
if (error.response && error.response.data) throw error.response.data
|
|
201
204
|
else throw error
|
|
202
205
|
}
|
package/src/electrumx.js
CHANGED
package/src/utxo.js
CHANGED
|
@@ -32,6 +32,8 @@ class UTXO {
|
|
|
32
32
|
* properties:
|
|
33
33
|
* - address: "" - the address these UTXOs are associated with
|
|
34
34
|
* - bchUtxos: [] - UTXOs confirmed to be spendable as normal BCH
|
|
35
|
+
* - infoUtxos: [] - UTXOs under of 1000 sats or less that can not be categorized
|
|
36
|
+
* as another type of UTXO (like a token).
|
|
35
37
|
* - nullUtxo: [] - UTXOs that did not pass SLP validation. Should be ignored and
|
|
36
38
|
* not spent, to be safe.
|
|
37
39
|
* - slpUtxos: {} - UTXOs confirmed to be colored as valid SLP tokens
|