Directories ¶
Path | Synopsis |
---|---|
Package apps contains Go implementations of apps that are distributed with go-perun.
|
Package apps contains Go implementations of apps that are distributed with go-perun. |
payment
Package payment implements the payment channel app.
|
Package payment implements the payment channel app. |
Package backend contains blockchain backend implementations.
|
Package backend contains blockchain backend implementations. |
ethereum
Package ethereum contains the Ethereum blockchain backend.
|
Package ethereum contains the Ethereum blockchain backend. |
ethereum/bindings
Package bindings contains all automatically generated code bindings to interact with the smart contracts of the Perun Ethereum blockchain backend.
|
Package bindings contains all automatically generated code bindings to interact with the smart contracts of the Perun Ethereum blockchain backend. |
ethereum/channel
Package channel contains the Ethereum channel backend implementation.
|
Package channel contains the Ethereum channel backend implementation. |
ethereum/channel/errors
Package errors contains error checking and wrapping functions.
|
Package errors contains error checking and wrapping functions. |
ethereum/channel/test
Package test contains utilities for testing the Ethereum channel backend, such as a simulated blockchain backend and a custom Adjudicator.
|
Package test contains utilities for testing the Ethereum channel backend, such as a simulated blockchain backend and a custom Adjudicator. |
ethereum/client/test
Package test contains utilities for running client tests for Ethereum.
|
Package test contains utilities for running client tests for Ethereum. |
ethereum/subscription
Package subscription contains generic event subscriptions.
|
Package subscription contains generic event subscriptions. |
ethereum/wallet
Package wallet implements go-perun's wallet interface for the ethereum backend.
|
Package wallet implements go-perun's wallet interface for the ethereum backend. |
ethereum/wallet/hd
Package hd contains perun wallet and accounts implementation for accessing accounts stored in an ethereum hierarchial deterministic (HD) wallet.
|
Package hd contains perun wallet and accounts implementation for accessing accounts stored in an ethereum hierarchial deterministic (HD) wallet. |
ethereum/wallet/keystore
Package keystore contains perun wallet and accounts implementation for accessing accounts stored in ethereum keystore.
|
Package keystore contains perun wallet and accounts implementation for accessing accounts stored in ethereum keystore. |
ethereum/wallet/simple
Package simple contains a simplistic implementation of the perun wallet, account, and transactor interfaces.
|
Package simple contains a simplistic implementation of the perun wallet, account, and transactor interfaces. |
ethereum/wallet/test
Package test contains utilities for generating random ethereum accounts and addresses.
|
Package test contains utilities for generating random ethereum accounts and addresses. |
sim
Package sim contains the simulated blockchain backend.
|
Package sim contains the simulated blockchain backend. |
sim/channel
Package channel contains the simulated channel backend.
|
Package channel contains the simulated channel backend. |
sim/wallet
Package wallet contains the simulated wallet backend.
|
Package wallet contains the simulated wallet backend. |
Package channel holds the core channel data structures.
|
Package channel holds the core channel data structures. |
persistence
Package persistence specifies how the framework interacts with a persistence backend.
|
Package persistence specifies how the framework interacts with a persistence backend. |
persistence/keyvalue
Package keyvalue contains an implementation of the channel persister interface using a keyvalue database interface.
|
Package keyvalue contains an implementation of the channel persister interface using a keyvalue database interface. |
persistence/test
Package test provides a PersistRestorer implementation for testing purposes as well as a generic PersistRestorer implementation test.
|
Package test provides a PersistRestorer implementation for testing purposes as well as a generic PersistRestorer implementation test. |
test
Package test contains generic tests for channel backend implementations and random generators of Params, States etc.
|
Package test contains generic tests for channel backend implementations and random generators of Params, States etc. |
Package client contains the Perun State Channel network protocol implementation.
|
Package client contains the Perun State Channel network protocol implementation. |
test
Package test contains testing setup types and functions for package client.
|
Package test contains testing setup types and functions for package client. |
Package log implements the logger interface of go-perun.
|
Package log implements the logger interface of go-perun. |
logrus
Package logrus contains an adaptation of the github.com/sirupsen/logrus project to our log interface.
|
Package logrus contains an adaptation of the github.com/sirupsen/logrus project to our log interface. |
Package pkg contains generic utility packages that are used in the go-perun framework but are generally reusable in other projects.
|
Package pkg contains generic utility packages that are used in the go-perun framework but are generally reusable in other projects. |
context
Package context contains helper utilities regarding go contexts.
|
Package context contains helper utilities regarding go contexts. |
context/test
Package test tests the helper utilities regarding go contexts.
|
Package test tests the helper utilities regarding go contexts. |
errors
Package errors contains functionality for simplifying and improving error handling.
|
Package errors contains functionality for simplifying and improving error handling. |
io
Package io contains functionality for the serialization of standard Go types.
|
Package io contains functionality for the serialization of standard Go types. |
io/test
Package test contains the generic serializer tests.
|
Package test contains the generic serializer tests. |
math/big
Package big contains generic functions that operate on big.Int and can be used independently of go-perun.
|
Package big contains generic functions that operate on big.Int and can be used independently of go-perun. |
sortedkv
Package sortedkv defines a sorted key-value store abstraction.
|
Package sortedkv defines a sorted key-value store abstraction. |
sortedkv/key
Package key of sortedkv provides helper functions to manipulate db keys
|
Package key of sortedkv provides helper functions to manipulate db keys |
sortedkv/leveldb
Package leveldb implements the key-value database interface using LevelDB.
|
Package leveldb implements the key-value database interface using LevelDB. |
sortedkv/memorydb
Package memorydb provides an implementation of the sortedkv interfaces.
|
Package memorydb provides an implementation of the sortedkv interfaces. |
sortedkv/test
Package test of the go-perun/sortedkv package implements a generic test for all implementations of the Database interface.
|
Package test of the go-perun/sortedkv package implements a generic test for all implementations of the Database interface. |
sync
Package sync contains a mutex that can be used in a select statement.
|
Package sync contains a mutex that can be used in a select statement. |
sync/atomic
Package atomic contains extensions of "sync/atomic"
|
Package atomic contains extensions of "sync/atomic" |
test
Package test contains Perun independent testing functionality.
|
Package test contains Perun independent testing functionality. |
Package wallet contains the definition of the wallet backend interfaces, and manages a global wallet backend instance that is accessible from the rest of the project.
|
Package wallet contains the definition of the wallet backend interfaces, and manages a global wallet backend instance that is accessible from the rest of the project. |
test
Package test contains generic tests and benchmarks for wallet backend implementation.
|
Package test contains generic tests and benchmarks for wallet backend implementation. |
Package watcher contains interface definitions for the watcher.
|
Package watcher contains interface definitions for the watcher. |
internal/mock
Package mock contains generated mocks for use in tests.
|
Package mock contains generated mocks for use in tests. |
local
Package local implements a local watcher.
|
Package local implements a local watcher. |
Package wire contains the basic wire communication infrastructure like wire message en- and decoding.
|
Package wire contains the basic wire communication infrastructure like wire message en- and decoding. |
net
Package net contains the abstract communication logic between peers.
|
Package net contains the abstract communication logic between peers. |
net/simple
Package simple contains simplistic implementation for the wire.Dialer and wire.Listener interfaces.
|
Package simple contains simplistic implementation for the wire.Dialer and wire.Listener interfaces. |
net/test
Package test contains the testing types for wire/net.
|
Package test contains the testing types for wire/net. |
test
Package test contains implementations of the peer interfaces that are useful for testing.
|
Package test contains implementations of the peer interfaces that are useful for testing. |
Click to show internal directories.
Click to hide internal directories.