github.com/evdatsion/aphelion-dpos-bft@v0.32.1/privval/doc.go (about)

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