Commit History

Author SHA1 Message Date
  Caleb James DeLisle eed174f852 no, actually self-link should not be counted as a 1 hop link 9 years ago
  Caleb James DeLisle 5819c1cdbd Add a new function EncodingScheme_isOneHop() because NumberCompress_isOneHop() only works for *our* scheme, not for anyone elses 9 years ago
  Caleb James DeLisle 55a8c6477d fixed test a bit, x=y is always true... 9 years ago
  Lars Gierth f4ac04ec31 Add test for NumberCompress_getCompressed() 9 years ago
  Caleb James DeLisle 0fdda4fc72 Replaced all instances of Assert_always() with Assert_true() to standardize on Assert_true() for 'always', Assert_ifParanoid() for assertions which trigger if PARANOIA is enabled and Assert_ifTesting() for asserions which would be triggered by bad nodes in a real network 10 years ago
  Caleb James DeLisle b89313d35f minor hardening in EncodingScheme_define* and fixed a bug which was returning space on the stack 10 years ago
  Caleb James DeLisle a5733a6a77 Fixed EncodingScheme tests 10 years ago
  Caleb James DeLisle 7725ac21f2 Work in progress, new switch protocol 10 years ago
  Caleb James DeLisle ca0ce321d5 Merged tests together under testcjdroute.c and fixed a few issues with tests 10 years ago
  Caleb James DeLisle ac3e7a9408 Beginning protocol version 6 and new pathfinder 11 years ago
  Caleb James DeLisle a08e867d3d Added announcement of switch encoding schemes and made nodestore not allow any new nodes unless they are behind a direct peer. 11 years ago