general workings - state is half done
lots of db work + tests, and minor improvements
Mostly asyncio - syncing well
Other files I forgot to add
state copy duplication fixed
redis set tests
State reorganises correctly!
synching issue half fixed
Sometimes the ordering alg would find a block not in the main chain, the culprit was a line in the message handler for primary_chain_provides
removing limit on size of response of block_request enabled synching
checkpoint, Orphanage to redis
orphanage and database stuff
forgot to add lua stuff for state (and orphanage too, now)
Fix #1, Orphanage operates on Redis now
gathers all blocks backwards after blockann, starts to sync forwards; seeks one block over and over and over
syncs forwards, number of blocks seeking matches number of blocks provided.
syncing super slow forwards - one block at a time :(
syncing fast - don't add to a pqueue while you're looping and pulling from the same queue.
Synchronising fully (tested to 16000 blocks)