Reject existing tx

This commit is contained in:
arkpar
2016-12-07 23:13:53 +01:00
parent 83f791fa5d
commit cc8c2ea58d
4 changed files with 23 additions and 3 deletions

View File

@@ -129,6 +129,9 @@ pub trait BlockChainClient : Sync + Send {
/// Get transaction with given hash.
fn transaction(&self, id: TransactionID) -> Option<LocalizedTransaction>;
/// Get the hash of block that contains the transaction, if any.
fn transaction_block(&self, id: TransactionID) -> Option<H256>;
/// Get uncle with given id.
fn uncle(&self, id: UncleID) -> Option<Bytes>;