I've tried to think about how to implement the new packet format, while
keeping the old code around. My plan so far is to move all the FNP
related code from PeerNode to a new class, and have PeerNode use the
old code through this class.

The new code can then be added without touching FNP, and PeerNode will
choose which format to use for each peer. At the moment I'm not sure
how to select which format to use. It obviously depends on the peer, so
is there anything in the node ref that can be used to decide that the
peer supports 'FNP v2'? If not, can something be added without breaking
old nodes, or is there a better way of doing this?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20100521/db147fa5/attachment.pgp>

Reply via email to