Do a better job of cleaning up and logging tasks during p2p shutdown, reorder shutdown of client object stop the p2p network object before closing the databases it may depend on using.
Prevent duplicate rebroadcast_pending() loops
Merge branch 'develop' into shutdown_without_crashing
Merge branch 'develop' into shutdown_without_crashing
Code cleanup, add logging in destructors and thread shutdown
More logging & cleanup
Merge branch 'develop' into shutdown_without_crashing
Switch p2p back to main thread
Merge branch 'develop' into shutdown_without_crashing
Merge branch 'develop' into shutdown_without_crashing
Remove define that has migrated to CMakeLists
Sleep for one microsecond in node:close as a workaround for now to ensure that async'd peer_connections destructors have finished before we finish destructing the node. Not a perfect solution, but works for now. Changed logging level for balance reporting during genesis block initialization to speed it up somewhat.
increase time delay to be sure all peer_connections destruct first
Merge branch 'shutdown_without_crashing' into develop