Added synchronization code and unit test.
Synchronisation fails if the trusted host has no new messages - this needs to be fixed (but shouldn't be an issue for real world applications)
This commit is contained in:
BIN
networking/src/test/resources/V1Msg.payload
Normal file
BIN
networking/src/test/resources/V1Msg.payload
Normal file
Binary file not shown.
BIN
networking/src/test/resources/V4Pubkey.payload
Normal file
BIN
networking/src/test/resources/V4Pubkey.payload
Normal file
Binary file not shown.
BIN
networking/src/test/resources/V5Broadcast.payload
Normal file
BIN
networking/src/test/resources/V5Broadcast.payload
Normal file
Binary file not shown.
Reference in New Issue
Block a user