massa
massa copied to clipboard
The Decentralized and Scaled Blockchain
Followup of https://github.com/massalabs/massa/pull/4197 * [ ] define Event IDs and generate them using the execution hash trail: `Hash::compute_from_tuple("EVENT_ID".to_bytes(), context.execution_trial_hash.to_bytes(), context.event_index.to_be_bytes())` * [ ] return the event ID when calling the...
Right now, before genesis (and if keep-ledger is not set), we load the initial ledger by manually adding the key values passed via config files. We should instead generate an...
* remove the is_db_valid function completely * after the bootstrap of the db (or its initialization or loading from disk) is done, create final_state by passing it the db and...
From: https://github.com/massalabs/massa/pull/4178#pullrequestreview-1512402858
https://discord.com/channels/828270821042159636/1050030833379057725/1119582464692723744 When someone stopped the connection from us it seems that we still try to send him data and so the thread is blocking and block the whole handler. We...
- Rename SecureShare id to `secure_hash` which is secure hash of the non-malleable contents of a deterministic binary representation of the CONTENT TYPE - Remove `operation_merkle_root` field - Propagate versioning...
Currently, we iterate over all the DeferredCredits keys while we're only interested in a specific address. We don't have to visit every keys. We might want instead to use a...
In the get_status command of the API, we could query the state of the network, e.g ```rust enum NetworkStatus { BeforeGenesis, InDowntime, Running ... } ```
https://github.com/massalabs/massa/blob/d299c3f4df700ee839828399644b00ecae77f945/massa-api/src/private.rs#L146-L151 cc @AurelienFT
in massa-grpc public.rs: * max_operation_id_per_request instead of max_block_id_per_request used in get_blocks