-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(connector-besu): request param: wait for ledger tx receipt #685
Adds new parameters to the run transaction endpoint's request object that allow the caller to specify a the consistency strategy parameters that can define if the connector should wait for either: 1. the transaction to be confirmed only by the node's transaction pool 2. if at least the block containing the transaction should be mined by the ledger 3. an N number of additional blocks should be confirmed by the ledger in **addition** to the block that contained the transaction. The parameters also allow to specify a timeout in milliseconds that if unspecified defaults to the maximum safe integer that Javascript can represent which for practical purposes we consider to be the same as waiting until the heat death of the universe or infinity. Fixes #685 Signed-off-by: Peter Somogyvari <[email protected]>
- Loading branch information
Showing
5 changed files
with
177 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters