witnet-rust
witnet-rust copied to clipboard
Add StakeTransaction
Validations
-
Transaction
- [x] It must stake the minimum allowed (10_000_000 nanowits).
- [x] It must have at least one input.
- [x] It must have a valid signature.
-
Block
- [x] A block must not contain more than one stake transaction from the same operator.
- [x] A block must not exceed the maximum weight allowed per block (10_000 weight units).