Age | Commit message (Collapse) | Author |
|
We localize bitfield mutation in storage module this way.
Also fix some warnings.
|
|
|
|
|
|
|
|
All exchange details should be in Exchange module, Sessions should
handle handshakes only!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is Yet Another Refactoring:
* Get rid of GHC Stage Restriction;
* Unliterate rest of code (less clutter);
* import Exchange in internals to avoid Discovery module.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fixed exception handling;
* Add acceptPeerSession needed by peer listener.
* Simplify initiatePeerSession
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To follow DHT genNodeId.
|
|
Otherwise we get space leak.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note that we have reorder some code to follow GHC Stage Restrictions.
|
|
|