pybitmessage.network.knownnodes module¶
Manipulations with knownNodes dictionary.
-
json_serialize_knownnodes
(output)[source]¶ Reorganize knownnodes dict and write it as JSON to output
-
pickle_deserialize_old_knownnodes
(source)[source]¶ Unpickle source and reorganize knownnodes dict if it has old format the old format was {Peer:lastseen, …} the new format is {Peer:{“lastseen”:i, “rating”:f}}