Update EthParser to match BlockChainParser interface
This commit is contained in:
parent
0f388272d0
commit
e8eca5c6ea
@ -5,19 +5,11 @@ import "blockbook/bchain"
|
|||||||
type EthParser struct {
|
type EthParser struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *EthParser) GetUIDFromVout(output *bchain.Vout) string {
|
func (p *EthParser) GetAddrIDFromVout(output *bchain.Vout) ([]byte, error) {
|
||||||
panic("not implemented")
|
panic("not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *EthParser) GetUIDFromAddress(address string) ([]byte, error) {
|
func (p *EthParser) GetAddrIDFromAddress(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 {
|
|
||||||
panic("not implemented")
|
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) {
|
func (p *EthParser) UnpackTx(buf []byte) (*bchain.Tx, uint32, error) {
|
||||||
panic("not implemented")
|
panic("not implemented")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (p *EthParser) IsUTXOChain() bool {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user