-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
572 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
Tzkt.Sync/Protocols/Handlers/Proto11/Activation/ProtoActivator.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text.Json; | ||
using System.Threading.Tasks; | ||
using Tzkt.Data.Models; | ||
|
||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class ProtoActivator : Proto10.ProtoActivator | ||
{ | ||
public ProtoActivator(ProtocolHandler proto) : base(proto) { } | ||
|
||
protected override void UpgradeParameters(Protocol protocol, Protocol prev) { } | ||
protected override Task MigrateContext(AppState state) => Task.CompletedTask; | ||
protected override Task RevertContext(AppState state) => Task.CompletedTask; | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/BakerCycleCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class BakerCycleCommit : Proto6.BakerCycleCommit | ||
{ | ||
public BakerCycleCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/BakingRightsCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class BakingRightsCommit : Proto10.BakingRightsCommit | ||
{ | ||
public BakingRightsCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class BigMapCommit : Proto1.BigMapCommit | ||
{ | ||
public BigMapCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class BlockCommit : Proto10.BlockCommit | ||
{ | ||
public BlockCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class CycleCommit : Proto1.CycleCommit | ||
{ | ||
public CycleCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/DeactivationCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class DeactivationCommit : Proto2.DeactivationCommit | ||
{ | ||
public DeactivationCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/DelegatorCycleCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class DelegatorCycleCommit : Proto3.DelegatorCycleCommit | ||
{ | ||
public DelegatorCycleCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/FreezerCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class FreezerCommit : Proto9.FreezerCommit | ||
{ | ||
public FreezerCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/Operations/ActivationsCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class ActivationsCommit : Proto5.ActivationsCommit | ||
{ | ||
public ActivationsCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/Operations/BallotsCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class BallotsCommit : Proto3.BallotsCommit | ||
{ | ||
public BallotsCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/Operations/DelegationsCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class DelegationsCommit : Proto1.DelegationsCommit | ||
{ | ||
public DelegationsCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/Operations/DoubleBakingCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class DoubleBakingCommit : Proto2.DoubleBakingCommit | ||
{ | ||
public DoubleBakingCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/Operations/DoubleEndorsingCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class DoubleEndorsingCommit : Proto4.DoubleEndorsingCommit | ||
{ | ||
public DoubleEndorsingCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/Operations/EndorsementsCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class EndorsementsCommit : Proto1.EndorsementsCommit | ||
{ | ||
public EndorsementsCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/Operations/NonceRevelationsCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class NonceRevelationsCommit : Proto1.NonceRevelationsCommit | ||
{ | ||
public NonceRevelationsCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/Operations/OriginationsCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class OriginationsCommit : Proto5.OriginationsCommit | ||
{ | ||
public OriginationsCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/Operations/ProposalsCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class ProposalsCommit : Proto3.ProposalsCommit | ||
{ | ||
public ProposalsCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/Operations/RevealsCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class RevealsCommit : Proto1.RevealsCommit | ||
{ | ||
public RevealsCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/Operations/TransactionsCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class TransactionsCommit : Proto5.TransactionsCommit | ||
{ | ||
public TransactionsCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/RevelationPenaltyCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class RevelationPenaltyCommit : Proto9.RevelationPenaltyCommit | ||
{ | ||
public RevelationPenaltyCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/SnapshotBalanceCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class SnapshotBalanceCommit : Proto9.SnapshotBalanceCommit | ||
{ | ||
public SnapshotBalanceCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/SoftwareCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class SoftwareCommit : Proto5.SoftwareCommit | ||
{ | ||
public SoftwareCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class StateCommit : Proto1.StateCommit | ||
{ | ||
public StateCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/StatisticsCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class StatisticsCommit : Proto1.StatisticsCommit | ||
{ | ||
public StatisticsCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Commits/SubsidyCommit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class SubsidyCommit : Proto10.SubsidyCommit | ||
{ | ||
public SubsidyCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class VotingCommit : Proto8.VotingCommit | ||
{ | ||
public VotingCommit(ProtocolHandler protocol) : base(protocol) { } | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
Tzkt.Sync/Protocols/Handlers/Proto11/Diagnostics/Diagnostics.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Tzkt.Sync.Protocols.Proto11 | ||
{ | ||
class Diagnostics : Proto10.Diagnostics | ||
{ | ||
public Diagnostics(ProtocolHandler handler) : base(handler) { } | ||
} | ||
} |
Oops, something went wrong.