omni / poa-bridge

POA <-> Ethereum bridge for self transfers of POA native token to POA20 (ERC20 representation). Not supported. Use TokenBridge instead
https://github.com/poanetwork/token-bridge
GNU General Public License v3.0
80 stars 39 forks source link

Problem: sending too many transactions #35

Closed yrashk closed 6 years ago

yrashk commented 6 years ago

When too many transactions are being sent out, the response from the node comes after the operation has timed out.

This is particularly noticeable on heavy loads on slower computers.

Solution: chunk transactions into batches

By default, the size of the batch is 2, however, it is important to note that since there's no coordination between different parties, there might be more than one batch at a time (but they should be within a single digit since the number of operations performed by bridge is limited)

Addresses #33 (partially)

yrashk commented 6 years ago

No longer relevant