From 6d3ba2e69018552d5e34e3472c6ff820d781df05 Mon Sep 17 00:00:00 2001 From: Martin Boehm Date: Wed, 21 Mar 2018 00:32:29 +0100 Subject: [PATCH] Update ethrpc/ethparser to match modified BlockChain interface --- bchain/coins/eth/ethparser.go | 16 ++++++++++++++++ bchain/coins/eth/ethrpc.go | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/bchain/coins/eth/ethparser.go b/bchain/coins/eth/ethparser.go index 0f0bd136..79811d50 100644 --- a/bchain/coins/eth/ethparser.go +++ b/bchain/coins/eth/ethparser.go @@ -5,6 +5,22 @@ import "blockbook/bchain" type EthParser struct { } +func (p *EthParser) GetUIDFromVout(output *bchain.Vout) string { + 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 { + panic("not implemented") +} + func (p *EthParser) AddressToOutputScript(address string) ([]byte, error) { panic("not implemented") } diff --git a/bchain/coins/eth/ethrpc.go b/bchain/coins/eth/ethrpc.go index e41e765e..bcb9bddc 100644 --- a/bchain/coins/eth/ethrpc.go +++ b/bchain/coins/eth/ethrpc.go @@ -249,7 +249,7 @@ func (b *EthRPC) ResyncMempool(onNewTxAddr func(txid string, addr string)) error panic("not implemented") } -func (b *EthRPC) GetMempoolTransactions(outputScript []byte) ([]string, error) { +func (b *EthRPC) GetMempoolTransactions(address string) ([]string, error) { panic("not implemented") }