Add comments to describe each prefix.

This commit is contained in:
Braydon Fuller 2015-10-02 10:56:28 -04:00
parent 27e90ef41a
commit da9d856da3
1 changed files with 3 additions and 3 deletions

View File

@ -50,9 +50,9 @@ AddressService.dependencies = [
];
AddressService.PREFIXES = {
OUTPUTS: new Buffer('02', 'hex'),
SPENTS: new Buffer('03', 'hex'),
SPENTSMAP: new Buffer('05', 'hex')
OUTPUTS: new Buffer('02', 'hex'), // Query outputs by address and/or height
SPENTS: new Buffer('03', 'hex'), // Query inputs by address and/or height
SPENTSMAP: new Buffer('05', 'hex') // Get the input that spends an output
};
AddressService.SPACER_MIN = new Buffer('00', 'hex');