Skip to content

Commit 688f2ba

Browse files
committed
Added Dijkstra era
1 parent c377787 commit 688f2ba

File tree

5 files changed

+97
-0
lines changed

5 files changed

+97
-0
lines changed

cabal.project

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ packages:
3838
eras/babbage/test-suite
3939
eras/conway/impl
4040
eras/conway/test-suite
41+
eras/dijkstra
4142
eras/mary/impl
4243
eras/shelley/impl
4344
eras/shelley/test-suite

eras/dijkstra/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Revision history for cardano-ledger-dijkstra
2+
3+
## 0.1.0.0 -- YYYY-mm-dd
4+
5+
* First version. Released on an unsuspecting world.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
cabal-version: 3.0
2+
name: cardano-ledger-dijkstra
3+
version: 0.1.0.0
4+
license: Apache-2.0
5+
maintainer: [email protected]
6+
author: IOHK
7+
bug-reports: https://github.com/intersectmbo/cardano-ledger/issues
8+
synopsis: Cardano ledger with nested transactions
9+
description:
10+
This package builds upon the Conway ledger with a nested transactions system.
11+
12+
category: Network
13+
build-type: Simple
14+
extra-source-files: CHANGELOG.md
15+
16+
source-repository head
17+
type: git
18+
location: https://github.com/intersectmbo/cardano-ledger
19+
subdir: eras/dijkstra
20+
21+
flag asserts
22+
description: Enable assertions
23+
default: False
24+
25+
library
26+
exposed-modules:
27+
Cardano.Ledger.Dijkstra
28+
hs-source-dirs: src
29+
30+
default-language: Haskell2010
31+
ghc-options:
32+
-Wall
33+
-Wcompat
34+
-Wincomplete-record-updates
35+
-Wincomplete-uni-patterns
36+
-Wpartial-fields
37+
-Wredundant-constraints
38+
-Wunused-packages
39+
40+
build-depends:
41+
base >=4.14 && <5,
42+
if flag(asserts)
43+
ghc-options: -fno-ignore-asserts
44+
45+
library testlib
46+
exposed-modules:
47+
visibility: public
48+
hs-source-dirs: testlib
49+
other-modules: Paths_cardano_ledger_dijkstra
50+
default-language: Haskell2010
51+
ghc-options:
52+
-Wall
53+
-Wcompat
54+
-Wincomplete-record-updates
55+
-Wincomplete-uni-patterns
56+
-Wpartial-fields
57+
-Wredundant-constraints
58+
-Wunused-packages
59+
60+
build-depends:
61+
base,
62+
63+
test-suite tests
64+
type: exitcode-stdio-1.0
65+
main-is: Main.hs
66+
hs-source-dirs: test
67+
other-modules:
68+
Paths_cardano_ledger_dijkstra
69+
70+
default-language: Haskell2010
71+
ghc-options:
72+
-Wall
73+
-Wcompat
74+
-Wincomplete-record-updates
75+
-Wincomplete-uni-patterns
76+
-Wredundant-constraints
77+
-Wpartial-fields
78+
-Wunused-packages
79+
-threaded
80+
-rtsopts
81+
-with-rtsopts=-N
82+
83+
build-depends:
84+
base,
85+
testlib,
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module Cardano.Ledger.Dijkstra () where

eras/dijkstra/test/Main.hs

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module Main where
2+
3+
main :: IO ()
4+
main = putStrLn "TODO add a test suite"
5+

0 commit comments

Comments
 (0)