massalabs / massa

The Decentralized and Scaled Blockchain
https://massa.net
5.58k stars 717 forks source link

minimal API #95

Closed massa-bot closed 2 years ago

massa-bot commented 2 years ago

In GitLab by @sebf

In order to debug or get info on the internal states of the protocol, we need an API that will be accessed at first from the command line (command line issue: https://gitlab.com/massalabs/massa-network/-/issues/96).

API has the following endpoints:

Later:

Framework

https://github.com/seanmonstar/warp

massa-bot commented 2 years ago

In GitLab by @sebf

changed the description

massa-bot commented 2 years ago

In GitLab by @sebf

changed the description

massa-bot commented 2 years ago

In GitLab by @sebf

changed the description

massa-bot commented 2 years ago

In GitLab by @sebf

changed the description

massa-bot commented 2 years ago

In GitLab by @sebf

changed the description

massa-bot commented 2 years ago

In GitLab by @sebf

changed the description

massa-bot commented 2 years ago

In GitLab by @damip

changed the description

massa-bot commented 2 years ago

In GitLab by @pdelrieu

created merge request !100 to address this issue

massa-bot commented 2 years ago

In GitLab by @pdelrieu

mentioned in merge request !100

massa-bot commented 2 years ago

In GitLab by @AureliaDolo

changed the description

massa-bot commented 2 years ago

In GitLab by @AureliaDolo

marked the task Block(hash) : return all block details -> (hash, thread, slot, parents, creation node,...) as completed

massa-bot commented 2 years ago

In GitLab by @AureliaDolo

marked the task BlockInterval(starttime, endtime): return all block hash found in the time interval -> hash list as completed

massa-bot commented 2 years ago

In GitLab by @AureliaDolo

marked the task GraphInterval(starttime, endtime): return all block info needed to reconstruct the graph found in the time interval -> list of (hash, thread, slot, status, parents hash) as completed

massa-bot commented 2 years ago

In GitLab by @AureliaDolo

marked the task *CurrentParents(): return the current best parents -> T(hash, thread, slot)** as completed

massa-bot commented 2 years ago

In GitLab by @AureliaDolo

marked the task *LastFinal(): return the last final block of each thread -> T(hash, thread, slot)** as completed

massa-bot commented 2 years ago

In GitLab by @AureliaDolo

marked the task Cliques(): return the number of cliques and the current cliques (hash set set) as completed

massa-bot commented 2 years ago

In GitLab by @sebf

changed the description

massa-bot commented 2 years ago

In GitLab by @sebf

changed the description

massa-bot commented 2 years ago

In GitLab by @sebf

changed the description

massa-bot commented 2 years ago

In GitLab by @sebf

changed the description

massa-bot commented 2 years ago

In GitLab by @sebf

changed the description

massa-bot commented 2 years ago

In GitLab by @sebf

changed the description

massa-bot commented 2 years ago

In GitLab by @sebf

changed the description

massa-bot commented 2 years ago

In GitLab by @AureliaDolo

marked the task NetworkInfo(): return network information: own IP address, connected peers (IP) as completed

massa-bot commented 2 years ago

In GitLab by @sebf

changed the description

massa-bot commented 2 years ago

In GitLab by @sebf

changed the description

massa-bot commented 2 years ago

In GitLab by @sebf

changed the description

massa-bot commented 2 years ago

In GitLab by @AureliaDolo

mentioned in merge request !105

massa-bot commented 2 years ago

In GitLab by @AureliaDolo

marked the task State(): returns a summary of the current state: time, last final block (hash, thread, slot, timestamp), nb cliques, nb connected nodes, recent miss rate as completed

massa-bot commented 2 years ago

In GitLab by @AureliaDolo

changed the description

massa-bot commented 2 years ago

In GitLab by @AureliaDolo

changed the description

massa-bot commented 2 years ago

In GitLab by @AureliaDolo

changed the description

massa-bot commented 2 years ago

In GitLab by @AureliaDolo

marked the task StakerInfo(address) : return staker info from staker address (pubkey hash) -> (blocks created, next slots where address is selected) as completed

massa-bot commented 2 years ago

In GitLab by @damip

mentioned in commit 54fe280bde4093a81ab8a490a6e1d4a3a9403c7f

massa-bot commented 2 years ago

In GitLab by @damip

changed the description

massa-bot commented 2 years ago

In GitLab by @damip

changed the description

massa-bot commented 2 years ago

In GitLab by @AureliaDolo

mentioned in merge request !155