Validates the payload against the configured maximum number of extension items. Called by the builder before decoding and applying the payload. Each extension type defines what constitutes one item.
(&self, _max_items: usize)
| 44 | /// Called by the builder before decoding and applying the payload. Each extension |
| 45 | /// type defines what constitutes one item. |
| 46 | fn validate(&self, _max_items: usize) -> Result<(), ExtensionError> { |
| 47 | Ok(()) |
| 48 | } |
| 49 | |
| 50 | /// Extracts extension data from an outbound pooled transaction. |
| 51 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected