Builds the msgpack app_data blob for an lxmf.propagation announce.
app_data
lxmf.propagation
Wire layout (LXMRouter.get_propagation_node_app_data):
LXMRouter.get_propagation_node_app_data
[ false, // 0: legacy LXMF PN support (always False) timebase(int), // 1: current node timebase node_state(bool), // 2: is a propagation node per_transfer_limit(int), // 3: KB per_sync_limit(int), // 4: KB [cost, flex, peering], // 5: stamp-cost triplet metadata ] // 6: {PN_META_NAME: bin} (integer keys)
The metadata map uses integer keys to match upstream umsgpack, so it is built from a Map rather than a plain object.
Map
Builds the msgpack
app_datablob for anlxmf.propagationannounce.Wire layout (
LXMRouter.get_propagation_node_app_data):[ false, // 0: legacy LXMF PN support (always False) timebase(int), // 1: current node timebase node_state(bool), // 2: is a propagation node per_transfer_limit(int), // 3: KB per_sync_limit(int), // 4: KB [cost, flex, peering], // 5: stamp-cost triplet metadata ] // 6: {PN_META_NAME: bin} (integer keys)
The metadata map uses integer keys to match upstream umsgpack, so it is built from a
Maprather than a plain object.