Implement transaction pool basics

This commit is contained in:
Michael Sproul
2019-03-06 14:46:12 +11:00
parent d936bc0e5d
commit 8f4a2fbde1
10 changed files with 377 additions and 15 deletions

View File

@@ -390,6 +390,11 @@ pub enum TransferInvalid {
///
/// (state_slot, transfer_slot)
StateSlotMismatch(Slot, Slot),
/// The `transfer.slot` is in the past relative to the state slot.
///
///
/// (state_slot, transfer_slot)
TransferSlotInPast(Slot, Slot),
/// The `transfer.from` validator has been activated and is not withdrawable.
///
/// (from_validator)