32 | @@ -33,6 +33,7 @@ interface BlockTemplate $Proxy.wrap("interfaces::BlockTemplate") {
33 | getWitnessCommitmentIndex @6 (context: Proxy.Context) -> (result: Int32);
34 | getCoinbaseMerklePath @7 (context: Proxy.Context) -> (result: List(Data));
35 | submitSolution@8 (context: Proxy.Context, version: UInt32, timestamp: UInt32, nonce: UInt32, coinbase :Data) -> (result: Bool);
36 | + destroy @9 (context :Proxy.Context) -> ();
In commit "Add destroy to BlockTemplate schema" (5f7dc0dbe64eb38afc74e9c4cba489382ea373bd)
Would suggest making destroy the first method because it affect semantics of the object as a whole, and thats where I placed destroy in all the other interfaces. It is fine to keep the number @9 for it, or renumber if you prefer.
I moved destroy to the top and renumbered.