forked from kadena-io/chainweb-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
chainweb.cabal
817 lines (767 loc) · 23.8 KB
/
chainweb.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
cabal-version: 3.8
name: chainweb
version: 2.22
synopsis: A Proof-of-Work Parallel-Chain Architecture for Massive Throughput
description: A Proof-of-Work Parallel-Chain Architecture for Massive Throughput.
homepage: https://github.com/kadena-io/chainweb
bug-reports: https://github.com/kadena-io/chainweb/issues
license: BSD-3-Clause
license-file: LICENSE
author: Chainweb Dev Team
maintainer: [email protected]
copyright: Copyright (C) 2018 - 2023 Kadena LLC
category: Blockchain, Currency, Bitcoin, Kadena
build-type: Custom
tested-with:
GHC == 9.6
extra-source-files:
CHANGELOG.md
README.md
LICENSE
-- sender information
pact/genesis/devnet/keys.yaml
-- miner rewards
rewards/miner_rewards.csv
-- pact test data
pact/coin-contract/coin.repl
pact/coin-contract/coin.pact
pact/coin-contract/load-coin-contract.yaml
test/pact/*.pact
test/golden/*.txt
-- alloations and rewards
allocations/token_payments.csv
allocations/Mainnet-Keysets.csv
allocations/Testnet-Keysets.csv
rewards/miner_rewards.csv
-- c sources
c/shathree.c
source-repository head
type: git
location: https://github.com/kadena-io/chainweb-node.git
flag ed25519
description:
Use ED25519 certificates; depends on the master branch of the tls
package.
default: False
manual: True
flag debug
description:
Enable various debugging features
default: False
manual: True
flag ghc-flags
description: Enable ghc dumps of .ghc.flags and .ghc.version for tooling
default: False
manual: True
common debugging-flags
if flag(debug)
ghc-options:
-g
cpp-options:
-DDEBUG_MULTINODE_TEST=1
common warning-flags
ghc-options:
-Wall
-Werror
-Wcompat
-Wpartial-fields
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Widentities
-funclutter-valid-hole-fits
-fmax-relevant-binds=0
-- This needed because -Werror and missing-home-modules causes
-- problems with ghci.
-Wno-missing-home-modules
custom-setup
setup-depends:
Cabal >= 3.8
, base >= 4.12 && < 5
, bytestring >= 0.10.12
, directory >= 1.3
, filepath >= 1.4
, process >= 1.5
-- -------------------------------------------------------------------------- --
-- Chainweb Library
-- -------------------------------------------------------------------------- --
library
import: warning-flags, debugging-flags
default-language: Haskell2010
hs-source-dirs: src
other-modules:
Paths_chainweb
autogen-modules:
Paths_chainweb
c-sources: c/shathree.c
cc-options: -DSQLITE_CORE
exposed-modules:
Chainweb.Backup
, Chainweb.BlockCreationTime
, Chainweb.BlockHash
, Chainweb.BlockHeader
, Chainweb.BlockHeader.Genesis.Development0Payload
, Chainweb.BlockHeader.Genesis.Development1to9Payload
, Chainweb.BlockHeader.Genesis.Development10to19Payload
, Chainweb.BlockHeader.Genesis.FastDevelopment0Payload
, Chainweb.BlockHeader.Genesis.FastDevelopment1to19Payload
, Chainweb.BlockHeader.Genesis.FastTimedCPM0Payload
, Chainweb.BlockHeader.Genesis.FastTimedCPM1to9Payload
, Chainweb.BlockHeader.Genesis.Testnet0Payload
, Chainweb.BlockHeader.Genesis.Testnet1to19Payload
, Chainweb.BlockHeader.Genesis.Mainnet0Payload
, Chainweb.BlockHeader.Genesis.Mainnet1Payload
, Chainweb.BlockHeader.Genesis.Mainnet2Payload
, Chainweb.BlockHeader.Genesis.Mainnet3Payload
, Chainweb.BlockHeader.Genesis.Mainnet4Payload
, Chainweb.BlockHeader.Genesis.Mainnet5Payload
, Chainweb.BlockHeader.Genesis.Mainnet6Payload
, Chainweb.BlockHeader.Genesis.Mainnet7Payload
, Chainweb.BlockHeader.Genesis.Mainnet8Payload
, Chainweb.BlockHeader.Genesis.Mainnet9Payload
, Chainweb.BlockHeader.Genesis.Mainnet10to19Payload
, Chainweb.BlockHeader.Validation
, Chainweb.BlockHeaderDB
, Chainweb.BlockHeaderDB.Internal
, Chainweb.BlockHeaderDB.PruneForks
, Chainweb.BlockHeaderDB.RestAPI
, Chainweb.BlockHeaderDB.RestAPI.Client
, Chainweb.BlockHeaderDB.RestAPI.Server
, Chainweb.BlockHeight
, Chainweb.BlockWeight
, Chainweb.ChainId
, Chainweb.ChainValue
, Chainweb.Chainweb
, Chainweb.Chainweb.ChainResources
, Chainweb.Chainweb.CheckReachability
, Chainweb.Chainweb.Configuration
, Chainweb.Chainweb.CutResources
, Chainweb.Chainweb.MempoolSyncClient
, Chainweb.Chainweb.MinerResources
, Chainweb.Chainweb.PeerResources
, Chainweb.Chainweb.PruneChainDatabase
, Chainweb.Counter
, Chainweb.Crypto.MerkleLog
, Chainweb.Cut
, Chainweb.Cut.Create
, Chainweb.Cut.CutHashes
, Chainweb.CutDB
, Chainweb.CutDB.RestAPI
, Chainweb.CutDB.RestAPI.Client
, Chainweb.CutDB.RestAPI.Server
, Chainweb.CutDB.Sync
, Chainweb.Difficulty
, Chainweb.Graph
, Chainweb.HostAddress
, Chainweb.Logger
, Chainweb.Logging.Config
, Chainweb.Logging.Miner
, Chainweb.Mempool.Consensus
, Chainweb.Mempool.CurrentTxs
, Chainweb.Mempool.InMem
, Chainweb.Mempool.InMemTypes
, Chainweb.Mempool.Mempool
, Chainweb.Mempool.P2pConfig
, Chainweb.Mempool.RestAPI
, Chainweb.Mempool.RestAPI.Client
, Chainweb.Mempool.RestAPI.Server
, Chainweb.MerkleLogHash
, Chainweb.MerkleUniverse
, Chainweb.Miner.Config
, Chainweb.Miner.Coordinator
, Chainweb.Miner.Core
, Chainweb.Miner.Miners
, Chainweb.Miner.Pact
, Chainweb.Miner.RestAPI
, Chainweb.Miner.RestAPI.Client
, Chainweb.Miner.RestAPI.Server
, Chainweb.NodeVersion
, Chainweb.OpenAPIValidation
, Chainweb.Payload
, Chainweb.Payload.PayloadStore
, Chainweb.Payload.PayloadStore.InMemory
, Chainweb.Payload.PayloadStore.RocksDB
, Chainweb.Payload.RestAPI
, Chainweb.Payload.RestAPI.Server
, Chainweb.Payload.RestAPI.Client
, Chainweb.PowHash
, Chainweb.RestAPI
, Chainweb.RestAPI.Backup
, Chainweb.RestAPI.Config
, Chainweb.RestAPI.Health
, Chainweb.RestAPI.NetworkID
, Chainweb.RestAPI.NodeInfo
, Chainweb.RestAPI.Orphans
, Chainweb.RestAPI.Utils
, Chainweb.Rosetta.Internal
, Chainweb.Rosetta.RestAPI
, Chainweb.Rosetta.RestAPI.Client
, Chainweb.Rosetta.RestAPI.Server
, Chainweb.Rosetta.Utils
, Chainweb.SPV
, Chainweb.SPV.CreateProof
, Chainweb.SPV.EventProof
, Chainweb.SPV.OutputProof
, Chainweb.SPV.PayloadProof
, Chainweb.SPV.VerifyProof
, Chainweb.SPV.RestAPI
, Chainweb.SPV.RestAPI.Server
, Chainweb.SPV.RestAPI.Client
, Chainweb.Sync.WebBlockHeaderStore
, Chainweb.Time
, Chainweb.Transaction
, Chainweb.TreeDB
, Chainweb.TreeDB.RemoteDB
, Chainweb.Utils
, Chainweb.Utils.Paging
, Chainweb.Utils.RequestLog
, Chainweb.Utils.Rule
, Chainweb.Utils.Serialization
, Chainweb.Version
, Chainweb.Version.Development
, Chainweb.Version.FastDevelopment
, Chainweb.Version.Guards
, Chainweb.Version.Mainnet
, Chainweb.Version.Registry
, Chainweb.Version.Testnet
, Chainweb.Version.Utils
, Chainweb.WebBlockHeaderDB
, Chainweb.WebPactExecutionService
, Data.IVar
, Data.LogMessage
, Data.PQueue
, Data.Singletons
, Data.TaskMap
, Network.X509.SelfSigned
, Numeric.Cast
, Numeric.Additive
, Numeric.AffineSpace
, P2P.BootstrapNodes
, P2P.Node
, P2P.Node.Configuration
, P2P.Node.PeerDB
, P2P.Node.RestAPI
, P2P.Node.RestAPI.Server
, P2P.Node.RestAPI.Client
, P2P.Peer
, P2P.Session
, P2P.TaskQueue
-- pact
, Chainweb.Pact.Backend.ChainwebPactDb
, Chainweb.Pact.Backend.DbCache
, Chainweb.Pact.Backend.Compaction
, Chainweb.Pact.Backend.PactState
, Chainweb.Pact.Backend.RelationalCheckpointer
, Chainweb.Pact.Backend.SQLite.DirectV2
, Chainweb.Pact.Backend.SQLite.V2
, Chainweb.Pact.Backend.Types
, Chainweb.Pact.Backend.Utils
, Chainweb.Pact.NoCoinbase
, Chainweb.Pact.PactService
, Chainweb.Pact.PactService.Checkpointer
, Chainweb.Pact.PactService.ExecBlock
, Chainweb.Pact.RestAPI
, Chainweb.Pact.RestAPI.Client
, Chainweb.Pact.RestAPI.EthSpv
, Chainweb.Pact.RestAPI.SPV
, Chainweb.Pact.RestAPI.Server
, Chainweb.Pact.SPV
, Chainweb.Pact.Service.BlockValidation
, Chainweb.Pact.Service.PactInProcApi
, Chainweb.Pact.Service.PactQueue
, Chainweb.Pact.Service.Types
, Chainweb.Pact.Templates
, Chainweb.Pact.TransactionExec
, Chainweb.Pact.Transactions.CoinV3Transactions
, Chainweb.Pact.Transactions.CoinV4Transactions
, Chainweb.Pact.Transactions.CoinV5Transactions
, Chainweb.Pact.Transactions.DevelopmentTransactions
, Chainweb.Pact.Transactions.Mainnet0Transactions
, Chainweb.Pact.Transactions.Mainnet1Transactions
, Chainweb.Pact.Transactions.Mainnet2Transactions
, Chainweb.Pact.Transactions.Mainnet3Transactions
, Chainweb.Pact.Transactions.Mainnet4Transactions
, Chainweb.Pact.Transactions.Mainnet5Transactions
, Chainweb.Pact.Transactions.Mainnet6Transactions
, Chainweb.Pact.Transactions.Mainnet7Transactions
, Chainweb.Pact.Transactions.Mainnet8Transactions
, Chainweb.Pact.Transactions.Mainnet9Transactions
, Chainweb.Pact.Transactions.MainnetKADTransactions
, Chainweb.Pact.Transactions.OtherTransactions
, Chainweb.Pact.Types
, Chainweb.Pact.Utils
, Chainweb.Pact.Validations
-- utils
, Servant.Client_
, Utils.Logging
, Utils.Logging.Config
, Utils.Logging.Trace
build-depends:
Decimal >= 0.4.2
, aeson >= 2.2
, asn1-encoding >=0.9
, asn1-types >=0.3
, async >= 2.2
, attoparsec >= 0.13
, base >= 4.12 && < 5
, base16-bytestring >= 0.1
, base64-bytestring-kadena == 0.1
, binary >= 0.8
, bytestring >= 0.10.12
, case-insensitive >= 1.2
, cassava >= 0.5.1
, chainweb-storage >= 0.1
, chronos >= 1.1
, clock >= 0.7
, configuration-tools >= 0.6
, crypton-connection >=0.2
, containers >= 0.5
, crypton >= 0.31
, cuckoo >= 0.3
, data-default >=0.7
, data-dword >= 0.3
, deepseq >= 1.4
, digraph >= 0.2.3
, direct-sqlite >= 2.3.27
, directory >= 1.3
, dlist >= 0.8
, errors >= 2.3
, ethereum >= 0.1
, exceptions >= 0.8
, file-embed >= 0.0
, filepath >= 1.4
, ghc-compact >= 0.1
, growable-vector >= 0.1
, hashable >= 1.4
, heaps >= 0.3
, hourglass >=0.2
, http-client >= 0.5
, http-client-tls >=0.3
, http-media >= 0.7
, http-types >= 0.12
, iproute >= 1.7
, ixset-typed >= 0.4
, lens >= 4.17
, loglevel >= 0.1
, memory >=0.14
, merkle-log >=0.2
, mmorph >= 1.1
, monad-control >= 1.0
, mtl >= 2.3
, mwc-random >= 0.13
, mwc-probability >= 2.0 && <2.4
, network >= 3.1.2
, optparse-applicative >= 0.14
, pact >= 4.2.0.1
, pact-json >= 0.1
, pem >=0.2
, primitive >= 0.7.1.0
, random >= 1.2
, rosetta >= 1.0
, safe-exceptions >= 0.1
, scheduler >= 1.4
, semigroupoids >= 5.3.7
, servant >= 0.20.1
, servant-client >= 0.20
, servant-client-core >= 0.20
, servant-server >= 0.20
, stm >= 2.4
, stopwatch >= 0.1
, streaming >= 0.2
, streaming-commons >= 0.2
, strict-concurrency >= 0.2
, template-haskell >= 2.14
, text >= 2.0
, trifecta >= 2.1
, these >= 1.0
, time >= 1.12.2
, tls >=1.9
, tls-session-manager >= 0.0
, token-bucket >= 0.1
, transformers >= 0.5
, unliftio ^>= 0.2
, unordered-containers >= 0.2.16
, uuid >= 1.3.15
, wai >= 3.2.2.1
, wai-app-static >= 3.1.6.3
, wai-cors >= 0.2.7
, wai-extra >= 3.0.28
, wai-middleware-validation
, vector >= 0.12.2
, vector-algorithms >= 0.7
, wai-middleware-throttle >= 0.3
, warp >= 3.3.6
, warp-tls >= 3.4
, crypton-x509 >=1.7
, crypton-x509-system >=1.6
, crypton-x509-validation >=1.6
, yaml >= 0.11
, yet-another-logger >= 0.4.1
if flag(ed25519)
cpp-options: -DWITH_ED25519=1
if flag(ghc-flags)
build-tool-depends: hsinspect:hsinspect
ghc-options: -fplugin GhcFlags.Plugin
build-depends: ghcflags
-- -------------------------------------------------------------------------- --
-- Chainweb Test suite
-- -------------------------------------------------------------------------- --
test-suite chainweb-tests
import: warning-flags, debugging-flags
default-language: Haskell2010
ghc-options:
-threaded
-with-rtsopts=-N4
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: ChainwebTests.hs
other-modules:
Chainweb.Test.BlockHeader.Genesis
Chainweb.Test.BlockHeader.Validation
Chainweb.Test.BlockHeaderDB
Chainweb.Test.BlockHeaderDB.PruneForks
Chainweb.Test.Chainweb.Utils.Paging
Chainweb.Test.Cut
Chainweb.Test.Cut.TestBlockDb
Chainweb.Test.CutDB
Chainweb.Test.Difficulty
Chainweb.Test.HostAddress
Chainweb.Test.Mempool
Chainweb.Test.Mempool.Consensus
Chainweb.Test.Mempool.InMem
Chainweb.Test.Mempool.RestAPI
Chainweb.Test.Mempool.Sync
Chainweb.Test.Mining
Chainweb.Test.Misc
Chainweb.Test.Orphans.Internal
Chainweb.Test.Orphans.Pact
Chainweb.Test.Orphans.Time
Chainweb.Test.Pact.PactMultiChainTest
Chainweb.Test.Pact.PactSingleChainTest
Chainweb.Test.P2P.Peer.BootstrapConfig
Chainweb.Test.Pact.DbCacheTest
Chainweb.Test.Pact.Checkpointer
Chainweb.Test.Pact.ModuleCacheOnRestart
Chainweb.Test.Pact.NoCoinbase
Chainweb.Test.Pact.RewardsTest
Chainweb.Test.Pact.PactExec
Chainweb.Test.Pact.PactReplay
Chainweb.Test.Pact.RemotePactTest
Chainweb.Test.Pact.SPV
Chainweb.Test.Pact.TransactionTests
Chainweb.Test.Pact.TTL
Chainweb.Test.Pact.SQLite
Chainweb.Test.Pact.Utils
Chainweb.Test.RestAPI
Chainweb.Test.RestAPI.Client_
Chainweb.Test.RestAPI.Utils
Chainweb.Test.Rosetta
Chainweb.Test.Rosetta.RestAPI
Chainweb.Test.Roundtrips
Chainweb.Test.SPV
Chainweb.Test.SPV.EventProof
Chainweb.Test.Sync.WebBlockHeaderStore
Chainweb.Test.TestVersions
Chainweb.Test.TreeDB
Chainweb.Test.TreeDB.RemoteDB
Chainweb.Test.Utils
Chainweb.Test.Utils.APIValidation
Chainweb.Test.Version
Chainweb.Test.Utils.BlockHeader
Chainweb.Test.Utils.TestHeader
-- Data
Data.Test.PQueue
Data.Test.Word.Encoding
-- P2P
P2P.Test.Orphans
P2P.Test.TaskQueue
build-depends:
-- internal
, chainweb
-- external
, Decimal >= 0.4.2
, QuickCheck >= 2.14
, aeson >= 2.2
, async >= 2.2
, base >= 4.12 && < 5
, base64-bytestring-kadena == 0.1
-- due to change in error message that is inlined in pact
, bytestring >= 0.10.12
, case-insensitive >= 1.2
, chainweb-storage >= 0.1
, crypton-connection >=0.2
, containers >= 0.5
, crypton >= 0.31
, data-default >=0.7
, data-dword >= 0.3
, data-ordlist >= 0.4.7
, deepseq >= 1.4
, direct-sqlite >= 2.3.27
, directory >= 1.2
, ethereum
, exceptions
, ghc-compact >= 0.1
, hashable >= 1.3
, http-client >= 0.5
, http-types >= 0.12
, lens >= 4.17
, lens-aeson >= 1.2.2
, loglevel >= 0.1
, merkle-log >=0.2
, mtl >= 2.3
, network >= 3.1.2
, patience >= 0.3
, http-client-tls >=0.3
, pact
, pact-json >= 0.1
, quickcheck-instances >= 0.3
, random >= 1.2
, resource-pool >= 0.4
, resourcet >= 1.3
, retry >= 0.7
, rocksdb-haskell-kadena >= 1.1.0
, rosetta >= 1.0
, scheduler >= 1.4
, servant >= 0.20.1
, servant-client >= 0.18.2
, statistics >= 0.15
, stm
, streaming >= 0.2.2
, streaming-commons >= 0.2
, strict-concurrency >= 0.2
, tasty >= 1.0
, tasty-golden >= 2.3
, tasty-json >= 0.1
, tasty-hunit >= 0.9
, tasty-quickcheck >= 0.9
, temporary >= 1.3
, text >=2.0
, time >= 1.12.2
, transformers >= 0.5
, unordered-containers >= 0.2.16
, vector >= 0.12.2
, wai >= 3.2
, wai-middleware-validation
, pretty-show
, warp >= 3.3.5
, warp-tls >= 3.2.9
, yaml >= 0.11
, yet-another-logger >= 0.4.1
, sha-validation >=0.1
, hashes >=0.2.2.0
if flag(ed25519)
cpp-options: -DWITH_ED25519=1
-- -------------------------------------------------------------------------- --
-- Chainweb Node Application
-- -------------------------------------------------------------------------- --
-- The application that runs an chainweb node
--
executable chainweb-node
import: warning-flags, debugging-flags
default-language: Haskell2010
ghc-options:
-threaded
"-with-rtsopts=-N -H1G -A64M --disable-delayed-os-memory-return"
-rtsopts
hs-source-dirs: node
main-is: ChainwebNode.hs
install-includes: node/c/rlim_utils.h
c-sources: node/c/rlim_utils.c
other-modules:
Paths_chainweb
PkgInfo
Utils.CheckRLimits
Utils.InstallSignalHandlers
autogen-modules:
Paths_chainweb
PkgInfo
build-depends:
-- internal
chainweb
-- external
, async >= 2.2
, base >= 4.12 && < 5
, chainweb-storage >= 0.1
, configuration-tools >= 0.6
, deepseq >= 1.4
, directory >= 1.3
, filepath >= 1.4
, http-client >= 0.5
, http-client-tls >=0.3
, lens >= 4.17
, loglevel >= 0.1
, managed >= 1.0
, streaming >= 0.2
, text >= 2.0
, time >= 1.12.2
, yet-another-logger >= 0.4.1
if !os(windows)
build-depends:
unix >= 2.7
executable cwtool
import: warning-flags, debugging-flags
default-language: Haskell2010
ghc-options:
-threaded
-rtsopts
"-with-rtsopts=-N -H1G -A64M"
hs-source-dirs:
tools/cwtool
tools/ea
tools/encode-decode
tools/genconf
tools/run-nodes
tools/txstream
tools/header-dump
tools/db-checksum
tools/known-graphs
tools/calculate-release
node
test
main-is: CwTool.hs
other-modules:
Allocations
Chainweb.Test.HostAddress
Chainweb.Test.MultiNode
Chainweb.Test.Orphans.Internal
Chainweb.Test.Orphans.Pact
Chainweb.Test.Orphans.Time
Chainweb.Test.P2P.Peer.BootstrapConfig
Chainweb.Test.Utils
Chainweb.Test.Utils.BlockHeader
CheckpointerDBChecksum
Ea
Ea.Genesis
EncodeDecodeB64Util
GenConf
HeaderDump
KnownGraphs
Network.X509.SelfSigned.Test
P2P.Test.Orphans
RunNodes
SlowTests
TxStream
TxSimulator
CalculateRelease
build-depends:
-- internal
chainweb
-- external
, QuickCheck >= 2.14
, aeson >= 2.2
, aeson-pretty >= 0.8
, lens-aeson >= 1.2.2
, async >= 2.2
, base >= 4.12 && < 5
, bytestring >= 0.10.12
, case-insensitive >= 1.2
, cassava >= 0.5.1
, cereal >= 0.5
, chainweb-storage >= 0.1
, configuration-tools >= 0.6
, crypton-connection >=0.2
, containers >= 0.5
, crypton >= 0.31
, data-default >=0.7
, deepseq >= 1.4
, digraph >= 0.2.3
, direct-sqlite >= 2.3.27
, directory >= 1.3
, file-embed
, filepath >= 1.4
, exceptions >= 0.8
, file-embed >= 0.0
, http-client >= 0.5
, http-client-tls >=0.3
, http-types >= 0.12
, lens >= 4.17
, loglevel >= 0.1
, memory >=0.14
, merkle-log >=0.2
, mtl >= 2.3
, network >= 3.1.2
, optparse-applicative >= 0.14
, pact
, pact-json
, process >= 1.5
, quickcheck-instances >= 0.3
, random >= 1.2
, resourcet >= 1.3
, retry >= 0.9
, wreq >= 0.5
, regex-tdfa >= 1.3
, rocksdb-haskell-kadena >= 1.1.0
, safe-exceptions >= 0.1
, servant-client >= 0.18.2
, servant-client-core >= 0.18.2
, streaming >= 0.2.2
, streaming-commons >= 0.2
, tasty >= 1.0
, tasty-golden >= 2.3
, tasty-hunit >= 0.9
, tasty-quickcheck >= 0.9
, temporary >= 1.3
, time >= 1.9
, text >= 2.0
, unordered-containers >= 0.2.16
, vector >= 0.12.2
, wai >= 3.2
, wai-middleware-validation
, pretty-show
, warp >= 3.3.5
, warp-tls >= 3.2.9
, yaml >= 0.8
, yet-another-logger >= 0.4.1
if flag(ed25519)
cpp-options: -DWITH_ED25519=1
benchmark bench
import: warning-flags, debugging-flags
default-language: Haskell2010
ghc-options:
-threaded
-rtsopts
-with-rtsopts=-N
hs-source-dirs: bench, test
main-is: Bench.hs
type: exitcode-stdio-1.0
other-modules:
Chainweb.Pact.Backend.Bench
Chainweb.Pact.Backend.ForkingBench
Chainweb.Utils.Bench
JSONEncoding
-- From test
Chainweb.Test.HostAddress
Chainweb.Test.Orphans.Internal
Chainweb.Test.Orphans.Pact
Chainweb.Test.Orphans.Time
P2P.Test.Orphans
build-depends:
Decimal >= 0.4.2
, aeson >= 2.2
, async >= 2.2
, base >= 4.12 && < 5
, bytestring >= 0.10.12
, case-insensitive >= 1.2
, chainweb
, chainweb-storage >= 0.1
, containers >= 0.5
, criterion
, deepseq >= 1.4
, exceptions >= 0.8
, file-embed >= 0.0
, lens >= 4.17
, loglevel >= 0.1
, merkle-log >=0.2
, mtl >= 2.3
, pact
, random >= 1.2
, text >= 2.0
, vector >= 0.12.2
, yaml >= 0.11
-- from test
, QuickCheck >= 2.14
, crypton >= 0.31
, quickcheck-instances >= 0.3
, streaming-commons >= 0.2
, unordered-containers >= 0.2.16
, yet-another-logger >= 0.4.1
, pact-json >= 0.1