Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update cardano-cli queries with Allegra/Mary modes
- Loading branch information
Showing
14 changed files
with
161 additions
and
85 deletions.
There are no files selected for viewing
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
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
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,22 @@ | ||
-- | Node client support for the Shelley protocol | ||
-- | ||
module Cardano.Api.Protocol.Allegra | ||
( -- * Client support | ||
-- mkNodeClientProtocolAllegra | ||
-- , mkSomeNodeClientProtocolAllegra | ||
) where | ||
|
||
|
||
--import Ouroboros.Consensus.Cardano (ProtocolClient (ProtocolClientAllegra), ProtocolAllegra) | ||
--import Ouroboros.Consensus.Cardano.ShelleyHFC | ||
--import Cardano.Api.Protocol.Types (SomeNodeClientProtocol (..)) | ||
|
||
|
||
{- | ||
mkNodeClientProtocolAllegra :: ProtocolClient (ShelleyBlockHFC StandardAllegra) ProtocolAllegra | ||
mkNodeClientProtocolAllegra = ProtocolClientAllegra | ||
mkSomeNodeClientProtocolAllegra :: SomeNodeClientProtocol | ||
mkSomeNodeClientProtocolAllegra = SomeNodeClientProtocol mkNodeClientProtocolAllegra | ||
-} |
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,22 @@ | ||
-- | Node client support for the Shelley protocol | ||
-- | ||
module Cardano.Api.Protocol.Mary | ||
( -- * Client support | ||
-- mkNodeClientProtocolMary | ||
-- , mkSomeNodeClientProtocolMary | ||
) where | ||
|
||
|
||
--import Ouroboros.Consensus.Cardano (ProtocolClient (ProtocolClientMary), ProtocolMary) | ||
--import Ouroboros.Consensus.Cardano.ShelleyHFC | ||
--import Cardano.Api.Protocol.Types (SomeNodeClientProtocol (..)) | ||
|
||
|
||
{- | ||
mkNodeClientProtocolMary :: ProtocolClient (ShelleyBlockHFC StandardMary) ProtocolMary | ||
mkNodeClientProtocolMary = ProtocolClientMary | ||
mkSomeNodeClientProtocolMary :: SomeNodeClientProtocol | ||
mkSomeNodeClientProtocolMary = SomeNodeClientProtocol mkNodeClientProtocolMary | ||
-} |
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
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
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
Oops, something went wrong.