MCPcopy Create free account
hub / github.com/FoundationDB/fdb-document-layer / call

Method call

src/ExtCmd.actor.cpp:338–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336struct GetNonceCmd {
337 static const char* name;
338 static Future<Reference<ExtMsgReply>> call(Reference<ExtConnection> nmc,
339 Reference<ExtMsgQuery> query,
340 Reference<ExtMsgReply> reply) {
341 reply->addDocument(BSON("nonce"
342 << "0000000000000000"
343 << "ok" << 1.0));
344
345 return reply;
346 }
347};
348
349REGISTER_CMD(GetNonceCmd, "getnonce");

Callers

nothing calls this directly

Calls 1

addDocumentMethod · 0.80

Tested by

no test coverage detected