Structures for self-descriptive directory nodes.

This commit is contained in:
JoelKatz
2012-11-30 00:12:25 -08:00
parent e8abe71ea8
commit 1d3a17b59d
3 changed files with 15 additions and 2 deletions

View File

@@ -65,6 +65,7 @@
FIELD(BookNode, UINT64, 3)
FIELD(OwnerNode, UINT64, 4)
FIELD(BaseFee, UINT64, 5)
FIELD(ExchangeRate, UINT64, 6)
// 128-bit
FIELD(EmailHash, HASH128, 1)
@@ -84,6 +85,12 @@
FIELD(InvoiceID, HASH256, 17)
FIELD(Nickname, HASH256, 18)
// 160-bit (common)
FIELD(TakerPaysCurrency, HASH160, 1)
FIELD(TakerPaysIssuer, HASH160, 2)
FIELD(TakerGetsCurrency, HASH160, 3)
FIELD(TakerGetsIssuer, HASH160, 4)
// currency amount (common)
FIELD(Amount, AMOUNT, 1)
FIELD(Balance, AMOUNT, 2)