From 4cbc1893041718b89fa4310ace5318e873c913bc Mon Sep 17 00:00:00 2001 From: Joan Esteban <129153821+joanestebanr@users.noreply.github.com> Date: Thu, 24 Oct 2024 20:45:23 +0200 Subject: [PATCH] feat: forkid13 (#130) --- synchronizer/actions/forksids.go | 8 +++++--- version.go | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/synchronizer/actions/forksids.go b/synchronizer/actions/forksids.go index 1309572..b9bbbf2 100644 --- a/synchronizer/actions/forksids.go +++ b/synchronizer/actions/forksids.go @@ -20,6 +20,8 @@ const ( ForkID11 = ForkIdType(11) //nolint:gomnd // ForkIDBanana is the forkId for Banana ForkIDBanana = ForkIdType(12) //nolint:gomnd + // ForkID13 is the forkId for 13. No changes on interfaces + ForkID13 = ForkIdType(13) //nolint:gomnd ) var ( @@ -28,19 +30,19 @@ var ( ForksIdAll = []ForkIdType{WildcardForkId} // ForksIdOnlyBanana support only banana forkId - ForksIdOnlyBanana = []ForkIdType{ForkIDBanana} + ForksIdOnlyBanana = []ForkIdType{ForkIDBanana, ForkID13} // ForksIdOnlyEtrogAndElderberry support ETROG and ELDERBERRY ForksIdOnlyEtrogAndElderberry = []ForkIdType{ForkIDEtrog, ForkIDElderberry, ForkID9, ForkID10, ForkID11} // ForksIdEtrogElderberryBanana support etrog, elderberry, and banana forkId - ForksIdEtrogElderberryBanana = []ForkIdType{ForkIDEtrog, ForkIDElderberry, ForkID9, ForkID10, ForkID11, ForkIDBanana} + ForksIdEtrogElderberryBanana = []ForkIdType{ForkIDEtrog, ForkIDElderberry, ForkID9, ForkID10, ForkID11, ForkIDBanana, ForkID13} // ForksIdOnlyElderberry support only elderberry forkId ForksIdOnlyElderberry = []ForkIdType{ForkIDElderberry, ForkID9, ForkID10, ForkID11} // ForksIdElderberryAndBanana support elderberry and banana forkId - ForksIdElderberryAndBanana = []ForkIdType{ForkIDElderberry, ForkID9, ForkID10, ForkID11, ForkIDBanana} + ForksIdElderberryAndBanana = []ForkIdType{ForkIDElderberry, ForkID9, ForkID10, ForkID11, ForkIDBanana, ForkID13} // ForksIdOnlyEtrog support only etrog forkId ForksIdOnlyEtrog = []ForkIdType{ForkIDEtrog} diff --git a/version.go b/version.go index a762f5b..13f2388 100644 --- a/version.go +++ b/version.go @@ -7,7 +7,7 @@ import ( ) var ( - Version = "v1.0.4" + Version = "v1.0.5" ) // PrintVersion prints version info into the provided io.Writer.