Currently:
Orderbook right now autoselects the lowest price printed in the orderbook, indifferent from which server or what price is being printed. Right now, if someone sets an order with a price much lower than current prices on a server with empty wallets, it can render the dicoapp unusable.
Expected:
In the original dicoapp there was a parameter that could set a specific pubkey of a server to pull prices from. That way, price front running is blocked.
STEPS TO REPRODUCE:
In the original app there was a file like this:
Pricebob parameter would read prices only from one pubkey. If the parameter was set to 0 it would be null and just read the first price printed in the orderbook.
Currently: Orderbook right now autoselects the lowest price printed in the orderbook, indifferent from which server or what price is being printed. Right now, if someone sets an order with a price much lower than current prices on a server with empty wallets, it can render the dicoapp unusable.
Expected: In the original dicoapp there was a parameter that could set a specific pubkey of a server to pull prices from. That way, price front running is blocked.
STEPS TO REPRODUCE: In the original app there was a file like this:
Pricebob parameter would read prices only from one pubkey. If the parameter was set to 0 it would be null and just read the first price printed in the orderbook.