Function pallet_pool_system::pallet::dispatchables::submit_solution
source · pub fn submit_solution<T: Config>(
pool_id: T::PoolId,
solution: Vec<TrancheSolution>
)
Expand description
Submit a partial execution solution for a closed epoch
If the submitted solution is “better” than the previous best solution, it will replace it. Solutions are ordered such that solutions which do not violate constraints are better than those that do.
Once a valid solution has been submitted, the challenge time begins. The pool can be executed once the challenge time has expired.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::submit_solution
.