We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
blobber/code/go/0chain.net/blobbercore/handler/protocol.go
Line 97 in de66db8
// Add or update blobber on blockchain func BlobberAdd(ctx context.Context) (string, error) { time.Sleep(transaction.SLEEP_FOR_TXN_CONFIRMATION * time.Second) // initialize storage node (ie blobber) txn, err := transaction.NewTransactionEntity() if err != nil { return "", err } }
Because it is registered only on blobber startup.
Line 156 in de66db8
func TransactionVerify(txnHash string) (t *transaction.Transaction, err error) { time.Sleep(transaction.SLEEP_FOR_TXN_CONFIRMATION * time.Second) //it should be removed too. for i := 0; i < util.MAX_RETRIES; i++ { time.Sleep(transaction.SLEEP_FOR_TXN_CONFIRMATION * time.Second) //it is enough for waiting if t, err = transaction.VerifyTransaction(txnHash, chain.GetServerChain()); err == nil { return t, nil } } return }
The text was updated successfully, but these errors were encountered:
fix(tansaction):#306 improved blobber register performance
fd69b03
cnlangzi
Successfully merging a pull request may close this issue.
blobber/code/go/0chain.net/blobbercore/handler/protocol.go
Line 97 in de66db8
Because it is registered only on blobber startup.
blobber/code/go/0chain.net/blobbercore/handler/protocol.go
Line 156 in de66db8
The text was updated successfully, but these errors were encountered: