Struct fuel_core::service::FuelService
source · pub struct FuelService {
pub bound_address: SocketAddr,
/* private fields */
}
Fields§
§bound_address: SocketAddr
The address bound by the system for serving the API
Implementations§
source§impl FuelService
impl FuelService
pub fn add_genesis_block(config: &Config, database: &mut Database) -> Result<()>
sourcepub fn init_coin_state(
db: &mut Database,
state: &Option<StateConfig>
) -> Result<MerkleRoot>
pub fn init_coin_state(
db: &mut Database,
state: &Option<StateConfig>
) -> Result<MerkleRoot>
initialize coins