MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / newCreateDatabase

Function newCreateDatabase

blockproducer/chain_test.go:56–68  ·  view source on GitHub ↗
(
	nonce pi.AccountNonce, signer *asymmetric.PrivateKey,
	owner proto.AccountAddress,
)

Source from the content-addressed store, hash-verified

54}
55
56func newCreateDatabase(
57 nonce pi.AccountNonce, signer *asymmetric.PrivateKey,
58 owner proto.AccountAddress,
59) (
60 t *types.CreateDatabase, err error,
61) {
62 t = types.NewCreateDatabase(&types.CreateDatabaseHeader{
63 Owner: owner,
64 Nonce: nonce,
65 })
66 err = t.Sign(signer)
67 return
68}
69
70func newProvideService(
71 nonce pi.AccountNonce, signer *asymmetric.PrivateKey,

Callers 1

TestChainFunction · 0.85

Calls 2

NewCreateDatabaseFunction · 0.92
SignMethod · 0.65

Tested by

no test coverage detected