Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/autodapp/autodapp
/ functions
Functions
15 in github.com/autodapp/autodapp
⨍
Functions
15
◇
Types & classes
3
↓ 2 callers
Method
query
Query Connection: Query your application. This usually resolves through a merkle tree holding the state of the app.
src/main.rs:159
↓ 1 callers
Method
encode
(&self)
src/main.rs:57
Method
begin_block
Consensus Connection: Called at the start of processing a block of transactions The flow is: begin_block() deliver_tx() for each transaction in the b
src/main.rs:212
Method
check_tx
Validate transactions. Rule: SQL string must be valid SQL
src/main.rs:172
Method
commit
(&mut self, _req: &RequestCommit)
src/main.rs:262
Method
decode
(s: String)
src/main.rs:38
Method
deliver_tx
Transaction = 1 SQL query Process the SQL query
src/main.rs:221
Method
end_block
Consensus Connection: Called at the end of the block. Often used to update the validator set.
src/main.rs:241
Method
handle_request
(&mut self, p: &Packet)
src/main.rs:329
Method
handle_response
(&mut self, p: &Packet)
src/main.rs:377
Method
info
Query Connection: Called on startup from Tendermint. The application should normally return the last known state so Tendermint can determine if it ne
src/main.rs:94
Method
init_chain
Consensus Connection: Called once on startup. Usually used to establish initial (genesis) state.
src/main.rs:166
Function
main
()
src/main.rs:383
Method
new
(node_id: String, sql: String)
src/main.rs:31
Method
set_option
Query Connection: Set options on the application (rarely used)
src/main.rs:152