singnet / agi-faucet

Automated faucet for distributing AGI Tokens
https://faucet.singularitynet.io/
MIT License
13 stars 13 forks source link

Stuck "Loading..." #7

Open ferrouswheel opened 5 years ago

ferrouswheel commented 5 years ago

Requesting AGI on faucet leaves button stuck "Loading..."

The user is provided with AGI (can check with snet account balance), but there is no feedback to the user showing the operation was successful.

tiero commented 5 years ago

The faucet waits until the transaction get mined before responding. One problem can be longer ropsten times are slower.

Would be more correct to just broadcast and respond with txHash and let the user check for mined/executed transaction

ferrouswheel commented 5 years ago

I thought it had be mined before the transfer would be visible to external apps?

On Tue, 26 Feb 2019, 12:45 AM Marco Argentieri, notifications@github.com wrote:

The faucet waits until the transaction get mined before responding. One problem can be longer ropsten times are slower.

Would be more correct to just broadcast and respond with txHash and let the user check for mined/executed transaction

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/singnet/agi-faucet/issues/7#issuecomment-466981895, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHWB6Yo_kVDPH-yGkQz-cCsso9JMRaXks5vQ8zrgaJpZM4bO_hQ .

tiero commented 5 years ago

I thought it had be mined before the transfer would be visible to external apps?

As soon you create and broadcast p2p to full node's mempool, the transaction is visible in the network. It's just not been mined yet