internal.ethapi.api: Async improves performance in high-latency environments, not low-latency

This commit is contained in:
Patrick Mylund Nielsen 2016-12-20 12:52:53 -05:00
parent f9c5b9caaf
commit f5e86643ed
1 changed files with 2 additions and 2 deletions

View File

@ -298,7 +298,7 @@ func (s *PrivateAccountAPI) SendTransaction(ctx context.Context, args SendTxArgs
return submitTransaction(ctx, s.b, tx, signature, isPrivate)
}
// Please note: This is a temporary integration to improve performance in low-latency
// Please note: This is a temporary integration to improve performance in high-latency
// environments when sending many private transactions. It will be removed at a later
// date when account management is handled outside Ethereum.
@ -397,7 +397,7 @@ var async = newAsync(100)
// called with a POST request containing either {"error": "error message"} or
// {"txHash": "0x..."}.
//
// Please note: This is a temporary integration to improve performance in low-latency
// Please note: This is a temporary integration to improve performance in high-latency
// environments when sending many private transactions. It will be removed at a later
// date when account management is handled outside Ethereum.
func (s *PublicTransactionPoolAPI) SendTransactionAsync(ctx context.Context, args AsyncSendTxArgs) {