Skip to content

trac-msb v0.2.9

Choose a tag to compare

@b-garbacz b-garbacz released this 27 Jan 14:41

Changes

  • Refactored the network layer in preparation for the v1 protocol (PR #406): introduced ProtocolSession plus LegacyProtocol/V1Protocol (Protomux), moved routing to src/core/
    network/protocols/*, and made protocol versions transparent to the network module.
  • Added v1 scaffolding: network protobuf definitions (proto/network.proto + src/utils/protobuf/network.cjs), an initial v1 router (src/core/network/protocols/v1/
    NetworkMessageRouter.js), and v1 network message builder/director (src/messages/network/v1/*).
  • Reworked apply message construction: added ApplyStateMessageBuilder/Director + factory and removed the old StateBuilder and partial/complete builders/directors.
  • Updated network services and RPC code to fit the new architecture (e.g. ConnectionManager, MessageOrchestrator, TransactionPoolService, rpc/*) plus validation/error-message
    fixes.

Other

  • Tests: added new unit tests (builders/directors/normalizers/protobuf), added v1 fixtures, and removed dead integration tests.
  • Dependencies/metadata (PR #441 and part of #406): bumped trac-wallet to 1.0.1, added uuid, updated package-lock.json, and added repository info to package.json.
  • Package version is already set to 0.2.9 in both package.json and package-lock.json.