3811
Stakeholder Proposals / Re: Worker Proposal Review
« on: November 11, 2015, 06:49:00 pm »Just a quick note.We can have a parameter like "maximum open orders per account", or increase the fee to x bts when there are more than y orders placed by an account exist.
DEX orders stays in memory for ever, so at current market cap and 0.1 BTS fee for limit_order_create operation, it will take ~20K USD to exhaust all witnesses memory. ( Assuming 4GB mem witnesses )Code: [Select]0.003186*0.1*4*1e9/64 ~= 20K USD
64 = memory usage of 1 limit_order_object
0.1 = fee
4*1e9 = 4GB
0.003186 = USD per BTS
Memory exhausting protection need to be taken into account also.