Crate emerald_core [−] [src]
Reexports
pub use self::rpc::start; |
Modules
| addressbook | |
| contract | |
| keystore | |
| rpc | |
| storage |
Structs
| Address |
Account address (20 bytes) |
| PrivateKey |
Private key used as x in an ECDSA signature |
| RLPList |
A list serializable to RLP |
| Signature |
Transaction sign data (see Appendix F. "Signing Transactions" from Yellow Paper) |
| Transaction |
Transaction data |
Enums
| Error |
Core domain logic errors |
Constants
| ADDRESS_BYTES |
Fixed bytes number to represent |
| ECDSA_SIGNATURE_BYTES |
ECDSA crypto signature length in bytes |
| KECCAK256_BYTES |
Keccak-256 crypto hash length in bytes |
| PRIVATE_KEY_BYTES |
Private key length in bytes |
Traits
| ToHex |
Convert |
| WriteRLP |
The |
Functions
| align_bytes |
Padding high bytes with |
| bytes_count |
Counts bytes required to hold |
| keccak256 |
Calculate Keccak-256 crypto hash |
| timestamp |
Time stamp in format |
| to_arr |
Convert a slice into array |
| to_bytes |
Converts |
| to_chain_id |
Get chain id by chain name |
| to_chain_name |
Get chain name by chain id |
| to_even_str |
Padding hex string with |
| to_u64 |
Convert byte array into |
| trim_bytes |
Trim all high zero bytes |
| trim_hex |
Trix hex prefix |
| version |
Get the current Emerald version. |