Re-exports§
Modules§
- native
- Wrapped native functions for services to use
- native_
raw - Raw native functions for services to use
- semver
- server_
action_ structs - These structs produce the same JSON and fracpack formats that the actions do.
- server_
interface - Interface for services which serve http
- services
- Interfaces for standard services
- tester
- Wrapped native functions for tests to use
- tester_
raw - Raw native functions for tests to use
Macros§
- account
- account_
raw - anyhow
- Construct an ad-hoc error from a string or existing non-
anyhow
error value. - component_
name - method
- method_
raw - plugin_
error - subjective_
tx - The
subjective_tx
macro creates a scope in which the subjective database is accessible. It is necessary to use this scope for any reads or writes to the subjective database. - table_
query - table_
query_ subindex
Structs§
- Account
Number - An account number.
- Action
- A synchronous call
- Action
Packer - Action
Trace - AnyPrivate
Key - AnyPublic
Key - Auto
Abort - BftConsensus
- Block
- Block
Data Row - Block
Header - Block
Header Auth Account - Block
Header Code - Block
Info - Bound
Method - CftConsensus
- Claim
- Code
ByHash Row - where code is actually stored, duplicate services are reused
- CodeRow
- Config
Row - Consensus
- Consensus
Bytes - Consensus
Change Row - Console
Trace - Database
Status Row - DepGraph
- Directory
Registry - Empty
Database - Error
- The
Error
type, a wrapper around a dynamic error type. - Essential
Services - Event
Query - GraphQL Pagination through Event tables
- Event
Trace - Exact
Account Number - Like AccountNumber, except FromStr and deserializing JSON require exact round-trip conversion
- FieldId
- File
SetRegistry - Genesis
Action Data - The genesis action is the first action of the first transaction of the first block. The action struct’s fields are ignored, except rawData, which contains this struct.
- Genesis
Service - HTTP
Registry - Hex
- Represent inner type as hex in JSON.
- Http
Body - Http
Header - An HTTP header
- Http
Reply - An HTTP reply
- Http
Request - An HTTP Request
- Http
Socket Info - Inner
Trace - Installed
Package Info - Joint
Consensus - Joint
Registry - Just
Schema - KeyView
- A serialized key (not owning)
- LogTruncate
Row - Meta
- Method
Number - A contract method number.
- Method
String - Micro
Seconds - Notify
Row - Package
Data File - Package
Disposition - Package
Info - Package
List - Package
Manifest - Package
Ref - Packaged
Service - Pending
Consensus - Pretty
Action - Producer
- Producer
Multi Cast Socket Info - RawKey
- A serialized key
- RunMode
- RunRow
- Scheduled
Snapshot Row - Schema
- Seconds
- Server
Actions - Interface for services which serve http
- Server
Wrapper - Simplifies calling into the service
- Service
Caller - Service
Info - Shared
Action - Shared
Genesis Action Data - Shared
Genesis Service - Signed
Block - Signed
Transaction - Singleton
Key - Snapshot
Row - Snapshot
State Item - Socket
Row - Staged
Upload - State
Checksum - State
Signature - Status
Row - Table
Index - Table
Info - Table
Iter - Table
Query - GraphQL Pagination through TableIndex
- Tapos
- Rules for TAPOS:
- Tapos
RefBlock - Time
Point Sec - Time
PointU Sec - Trace
Console - Transaction
- Transaction
Builder - Transaction
Trace - VMOptions
- Wasm
Config Row
Enums§
- Account
Number Error - Consensus
Data - DbId
- Identify database to operate on
- Inner
Trace Enum - K1Error
- Method
Number Error - Package
Op - Package
Origin - Package
Preference - Socket
Info - Trace
Format
Constants§
- BLOCK_
DATA_ TABLE - CODE_
BY_ HASH_ TABLE - CODE_
TABLE - CONFIG_
TABLE - CONSENSUS_
CHANGE_ TABLE - DATABASE_
STATUS_ TABLE - LOG_
TRUNCATE_ TABLE - NATIVE_
TABLE_ PRIMARY_ INDEX - NOTIFY_
TABLE - PROOF_
WASM_ CONFIG_ TABLE - RUN_
TABLE - SCHEDULED_
SNAPSHOT_ TABLE - SNAPSHOT_
TABLE - SOCKET_
TABLE - STATUS_
TABLE - TRANSACTION_
WASM_ CONFIG_ TABLE
Traits§
- Action
Group - Action
Sink - Caller
- Chain
Url - Decode
Event - EventDb
- Named
Event - Package
Registry - Process
Action Struct - Service
Tables Wrapper - Signer
- Table
- Table
Record - ToActions
Schema - ToDatabase
Schema - ToEvents
Schema - ToIndex
Schema - ToKey
- ToKey defines a conversion from a type to a sequence of bytes whose lexicographical ordering is the same as the ordering of the original type.
- ToService
Schema - With
Action Struct
Functions§
- apply_
proxy - as_json
- compress_
content - create_
boot_ transactions - Create boot transactions
- create_
schema - db_name
- decode_
event_ data - from_
bin - crate::from_bin() and crate::to_bin() are incomplete. They’ll disappear when switch to fracpack is complete.
- generate_
action_ templates - get_
accounts_ to_ create - get_
essential_ packages - get_
event - get_
event_ in_ db - get_
initial_ actions - Get initial actions
- get_
installed_ manifest - get_
manifest - get_
package_ sources - get_
schemas - get_
sender - Get sender of currently-executing action
- get_
service - Get currently-executing service
- get_
tapos_ for_ head - gql_
query - load_
private_ key - login_
action - make_
ref - make_
refs - new_
account_ action - print_
schema_ impl - push_
transaction - push_
transaction_ optimistic - push_
transactions - reg_
server - schema_
types - serve_
action_ templates - Handle
/action_templates
request - serve_
graphiql - Serve GraphiQL UI
- serve_
graphql - Handle
/graphql
request - serve_
pack_ action - Handle
/pack_action/
request - serve_
simple_ index - Serve index.html for a developer UI
- serve_
simple_ ui - Serve a developer UI
- set_
auth_ service_ action - set_
code_ action - set_
key_ action - sign_
transaction - solve_
dependencies - status_
key - to_bin
- crate::from_bin() and crate::to_bin() are incomplete. They’ll disappear when switch to fracpack is complete.
- validate_
dependencies