|
April 13, 2013, 01:09:31 AM |
|
I think that the problems you're trying to solve can be solved better without a network rule. If the problem is RAM, why not just page out the transactions that are old to disk? You can have a special database just for old on-disk transactions, and check it only when a block gets created that references it. If most nodes aren't relaying old transactions because they only look at the current set in their RAM, then the spender may need to send the transaction directly to a miner, but I think that might be an easier problem to solve.
I know that with the price skyrocketing I wanted to sell some of my reserve coins somewhat quickly, since I had suddenly a lot more value invested in Bitcoin than I was comfortable with. I would have been pretty annoying to need to wait 16 blocks (although perhaps the price would have moved in my favor, but perhaps not).
And if nodes need to load up the full unspent set every 16 blocks, they need to keeping referenced transactions in RAM for that time… I think you just end up with the same problem, but in a more complicated way.
|