threefoldfoundation / tf_app

Threefold mobile application backend
Apache License 2.0
0 stars 3 forks source link

Pool limit set on Mazraa #395

Closed sabrinasadik closed 5 years ago

sabrinasadik commented 5 years ago

Tokens can't be sent in the mobile wallet - see error in screenshot Wallet address: 015f867544f490be10e9b6dd3c1fb20c35a942336a097256253b0b9d4eef7ef171e0b7370d3f3e

sabrinasadik commented 5 years ago

2019-05-14 11 51 55

sabrinasadik commented 5 years ago
Screenshot 2019-05-14 at 11 56 24
LeeSmet commented 5 years ago

The transaction pool has constraints for how big a single transaction can be (when binary encoded), the limits itself are currently set at 16kb for a single transaction (as defined here :https://github.com/threefoldtech/rivine/blob/master/types/constants.go#L129).

The exact lenght can be checked by binary encoding the transaction yourself (up to 100 inputs in a single transaction are a faily good limit though). If the tx is larger due to a large amount of inputs, it could be split up into multiple transactions under the hood (incurring a small increase in tx fee that needs to be payed, but that seems acceptable)

bart-at-mobicage commented 5 years ago

Discussed with Glen. For now we are just sorting on output amounts.

lucasvanhalst commented 5 years ago

looks like it worked