update address-cache key prefix
This commit is contained in:
parent
6beb2ecd06
commit
d42e569008
@ -4,7 +4,7 @@ function Encoding(servicePrefix) {
|
|||||||
this.servicePrefix = servicePrefix;
|
this.servicePrefix = servicePrefix;
|
||||||
this.addressIndex = new Buffer('00', 'hex');
|
this.addressIndex = new Buffer('00', 'hex');
|
||||||
this.utxoIndex = new Buffer('01', 'hex');
|
this.utxoIndex = new Buffer('01', 'hex');
|
||||||
this.addressCache = new Buffer('ff', 'hex');
|
this.addressCache = new Buffer('fe', 'hex');
|
||||||
}
|
}
|
||||||
|
|
||||||
Encoding.prototype.encodeAddressIndexKey = function(address, height, txid, index, input, timestamp) {
|
Encoding.prototype.encodeAddressIndexKey = function(address, height, txid, index, input, timestamp) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user