Trait vapcore_sync::PrivateTxHandler [−][src]
Trait which should be implemented by a private transaction handler.
Required methods
fn import_private_transaction(&self, rlp: &[u8]) -> Result<H256, String>
[src]
Function called on new private transaction received. Returns the hash of the imported transaction
fn import_signed_private_transaction(&self, rlp: &[u8]) -> Result<H256, String>
[src]
Function called on new signed private transaction received. Returns the hash of the imported transaction
fn private_state_synced(&self, hash: &H256) -> Result<(), String>
[src]
Function called when requested private state retrieved from peer and saved to DB.