Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- startNodeClient :: Config -> InstancesState -> IO BlockchainEnv
- processMockBlock :: InstancesState -> BlockchainEnv -> Block -> Slot -> IO ( STM ( Either SyncActionFailure (Slot, BlockNumber )))
Documentation
:: Config |
PAB's config |
-> InstancesState |
In-memory state of running contract instances |
-> IO BlockchainEnv |
Connect to the node and write node updates to the blockchain env.
processMockBlock :: InstancesState -> BlockchainEnv -> Block -> Slot -> IO ( STM ( Either SyncActionFailure (Slot, BlockNumber ))) Source #
Go through the transactions in a block, updating the
BlockchainEnv
when any interesting addresses or transactions have changed.