Documentation ¶
Index ¶
Constants ¶
View Source
const APIDATACOM = "datacom"
APIDATACOM is the namespace of the datacom service
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoints ¶ added in v0.0.7
type Endpoints struct {
// contains filtered or unexported fields
}
Endpoints contains implementations for the "datacom" RPC endpoints
func NewEndpoints ¶ added in v0.0.7
NewEndpoints returns Endpoints
func (*Endpoints) SignSequence ¶ added in v0.0.7
func (d *Endpoints) SignSequence(signedSequence types.SignedSequence) (interface{}, rpc.Error)
SignSequence generates the concatenation of hashes of the batch data of the sequence and sign it. After storing the data that will be sent hashed to the contract, it returns the signature. This endpoint is only accessible to the sequencer
func (*Endpoints) SignSequenceBanana ¶ added in v0.0.8
func (d *Endpoints) SignSequenceBanana(signedSequence types.SignedSequenceBanana) (interface{}, rpc.Error)
SignSequenceBanana generates the accumulated input hash aka accInputHash of the sequence and sign it. After storing the data that will be sent hashed to the contract, it returns the signature. This endpoint is only accessible to the sequencer
Click to show internal directories.
Click to hide internal directories.