From 05ed406b31d3dadde55e0195e1774f9e5e6835c1 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Mon, 20 Mar 2017 18:00:06 -0700 Subject: [PATCH] add correct eth codes --- cid.go | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/cid.go b/cid.go index 6d74dfb..1bec549 100644 --- a/cid.go +++ b/cid.go @@ -35,12 +35,19 @@ const ( DagProtobuf = 0x70 DagCBOR = 0x71 - EthereumBlock = 0x90 - EthereumTx = 0x91 - BitcoinBlock = 0xb0 - BitcoinTx = 0xb1 - ZcashBlock = 0xc0 - ZcashTx = 0xc1 + EthBlock = 0x90 + EthBlockList = 0x91 + EthTxTrie = 0x92 + EthTx = 0x93 + EthTxReceiptTrie = 0x94 + EthTxReceipt = 0x95 + EthStateTrie = 0x96 + EthAccountSnapshot = 0x97 + EthStorageTrie = 0x98 + BitcoinBlock = 0xb0 + BitcoinTx = 0xb1 + ZcashBlock = 0xc0 + ZcashTx = 0xc1 ) func NewCidV0(h mh.Multihash) *Cid {