TODO fix situation of forks If no datafolder provided, blocktree lives in RAM (useful for tests)
If no datafolder provided, blockchain lives in RAM (useful for tests)
Store current balances only, and balances changes within effective balance depth.
Store current balances only, and balances changes within effective balance depth. Store transactions for selected accounts only. If no filename provided, blockchain lives in RAM (intended for tests only).
Use apply method of StoredState object to create new instance