stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 671 forks source link

Update block validation endpoint to return the processing time #5464

Open obycode opened 5 hours ago

obycode commented 5 hours ago

In addition to reporting if the block is valid, the node should also report the block cost. EDIT: it already reports the block costs.

In addition to reporting if the block is valid, the node should also report the processing time.

See #5434.

jferrant commented 4 hours ago

Does it not already do this? https://github.com/stacks-network/stacks-core/blob/bac1b07baf316ffc124d7a0b348af23afa727a99/stackslib/src/net/api/postblock_proposal.rs#L146

obycode commented 3 hours ago

Does it not already do this?

Updated to add the processing time instead.