From 775f880a2fb9554c0c69d6880fc300afb029a950 Mon Sep 17 00:00:00 2001 From: WeebDataHoarder <57538841+WeebDataHoarder@users.noreply.github.com> Date: Fri, 5 Apr 2024 18:11:20 +0200 Subject: [PATCH] consensus v3.1.0 --- p2pool/types/protocol.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/p2pool/types/protocol.go b/p2pool/types/protocol.go index e3eaaea..261e66c 100644 --- a/p2pool/types/protocol.go +++ b/p2pool/types/protocol.go @@ -106,7 +106,11 @@ func (v SoftwareVersion) String() string { } const SupportedProtocolVersion = ProtocolVersion_1_2 -const CurrentSoftwareVersion SoftwareVersion = (3 << 16) | 0 + +const CurrentSoftwareVersionMajor = 3 & 0xFFFF +const CurrentSoftwareVersionMinor = 1 & 0xFFFF + +const CurrentSoftwareVersion SoftwareVersion = (CurrentSoftwareVersionMajor << 16) | CurrentSoftwareVersionMinor const CurrentSoftwareId = SoftwareIdGoObserver type SoftwareId uint32