Skip to content

THOR Protocol v1.0: Core Routing Engine (Stable)

Latest

Choose a tag to compare

@RishitSharma88 RishitSharma88 released this 12 Dec 11:33
· 1 commit to main since this release
f6f0697

Initial Release: THOR v1.0 Core

This release contains the fully verified C++17 Core Logic for the THOR (Two-Hop Opportunistic Routing) protocol.

Verified Features

  • Physics-Aware Routing (MFR): Implements "Goldilocks" RSSI filtering (-50 to -80 dBm).
  • Internet Gravity: Prioritizes routes based on myInternet and intneighbour flags.
  • Store-and-Forward Queue: Successfully holds packets when no route exists and releases them upon neighbor discovery.
  • Binary Efficiency: Custom 22-byte header serialization.

Verification

The routing logic has been verified via the CLI simulation (examples/simulation.cpp).

  • Node A successfully queues packets in "Dead Zones".
  • Node B discovery triggers immediate queue flushing.
  • Packet deserialization and flag handling are bit-perfect.

See attached screenshot for verification output.

Next Steps

Upcoming v2.0 will introduce:

  • Session-based Streaming (moreData flag).
  • Fragmented Headers (6-byte overhead).
  • Android JNI Wrapper.