brave-intl / bat-go

Pass "go", collect 200 BAT
Mozilla Public License 2.0
41 stars 31 forks source link

Move "await_prepare" logic into authorize #2533

Open kdenhartog opened 1 month ago

kdenhartog commented 1 month ago

By moving this into the authorize logic so we make sure that both operators who are approving the transaction list are also checking that the transaction list is correct before authorizing the transactions. This would mean prepare would be ran by a single operator and be more like a "fire and forget" command where as authorize would be ran by multiple operators still and the transaction list will be validated by multiple operators too.