github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/tm2/pkg/bft/privval/doc.go (about)

     1  /*
     2  Package privval provides different implementations of the types.PrivValidator.
     3  
     4  # FilePV
     5  
     6  FilePV is the simplest implementation and developer default. It uses one file for the private key and another to store state.
     7  
     8  # SignerListenerEndpoint
     9  
    10  SignerListenerEndpoint establishes a connection to an external process, like a Key Management Server (KMS), using a socket.
    11  SignerListenerEndpoint listens for the external KMS process to dial in.
    12  SignerListenerEndpoint takes a listener, which determines the type of connection
    13  (ie. encrypted over tcp, or unencrypted over unix).
    14  
    15  # SignerDialerEndpoint
    16  
    17  SignerDialerEndpoint is a simple wrapper around a net.Conn. It's used by both IPCVal and TCPVal.
    18  */
    19  package privval