Add a miner reward
Some ideas: have a $miner variable that contains the public address of a miner, then use that to send extra quota (through grants) using a query stored in 'flags' executed as first query for each block.
See also #43
Blocks now have a miner public key hash, now there should just be a way to grant a certain query to a miner (kind=query, table=money, user=$miner, query=update money set balance = balance + 1 where user = $miner) (requires #8)
#30 and #34 can be implemented using an 'incentives' table that lists special transactions that are executed upon each mined block (e.g. UPDATE balances SET amount = amount + 1 WHERE account = $invoker; or similar)
Was searching issues about this: how catena prevents sybil spam attacks if there's no reward + usage of some limited resource from users? This project seems interesting and would like to use it, but without a way to prevent a DoS attack like this i think you could easily design an attack to eat up all disk... am i right?
Maybe set quota as the total held/burnt balance by a pubkey? No one wants another useless token, so making these tokens not worth to accumulate would be great too (maybe a countdown from mining to expiration, and require them to be burnt to acquire quota?)