datacom

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 7 Imported by: 0

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

func NewEndpoints(db db.DB, pk *ecdsa.PrivateKey, st *sequencer.Tracker) *Endpoints

NewEndpoints returns Endpoints

func (*Endpoints) SignSequence added in v0.0.7

func (d *Endpoints) SignSequence(signedSequence types.SignedSequence) (interface{}, rpc.Error)

SignSequence 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL