Update EthParser to match BlockChainParser interface

This commit is contained in:
Martin Boehm 2018-03-23 13:25:42 +01:00
parent 0f388272d0
commit e8eca5c6ea

View File

@ -5,19 +5,11 @@ import "blockbook/bchain"
type EthParser struct {
}
func (p *EthParser) GetUIDFromVout(output *bchain.Vout) string {
func (p *EthParser) GetAddrIDFromVout(output *bchain.Vout) ([]byte, error) {
panic("not implemented")
}
func (p *EthParser) GetUIDFromAddress(address string) ([]byte, error) {
panic("not implemented")
}
func (p *EthParser) PackUID(script string) ([]byte, error) {
panic("not implemented")
}
func (p *EthParser) UnpackUID(buf []byte) string {
func (p *EthParser) GetAddrIDFromAddress(address string) ([]byte, error) {
panic("not implemented")
}
@ -44,3 +36,7 @@ func (p *EthParser) PackTx(tx *bchain.Tx, height uint32, blockTime int64) ([]byt
func (p *EthParser) UnpackTx(buf []byte) (*bchain.Tx, uint32, error) {
panic("not implemented")
}
func (p *EthParser) IsUTXOChain() bool {
return false
}