BoostryJP / ibet-Wallet-API

A powerful API suite for seamlessly building ibet blockchain wallet systems 🛠
https://ibet.jp/ibet-for-fin
Apache License 2.0
9 stars 0 forks source link

[FEATURE] Change timeout/polling setting of wait_for_transaction_receipt #1202

Closed purplesmoke05 closed 2 years ago

purplesmoke05 commented 2 years ago

Is your feature request related to a problem? Please describe.

Current, endpoints about send transaction use web3 module and web3.eth.wait_for_transaction_receipt is used with parameter following.

Timeout is too long and Polling is too short. So if there are transactions which is pending, endpoints like /Eth/SendRawTransaction occurs high load to on-chain.

Describe the solution you'd like

Set timeout/polling parameter of wait_for_transaction_receipt suitable value.

Target