Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Dunitrust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nodes
rust
Dunitrust
Merge requests
!158
Elois/ws2p v1 requests
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Elois/ws2p v1 requests
elois/ws2p-v1-requests
into
dev
Overview
0
Commits
7
Pipelines
0
Changes
40
Merged
Éloïs
requested to merge
elois/ws2p-v1-requests
into
dev
6 years ago
Overview
0
Commits
7
Pipelines
0
Changes
40
Expand
0
0
Merge request reports
Compare
dev
version 1
99d7ba31
6 years ago
dev (base)
and
latest version
latest version
53f26206
7 commits,
6 years ago
version 1
99d7ba31
7 commits,
6 years ago
40 files
+
1732
−
455
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
40
Search (e.g. *.vue) (Ctrl+P)
lib/core/message/requests.rs
+
11
−
3
Options
@@ -43,11 +43,19 @@ pub enum BlockchainRequest {
/// Current blockstamp
CurrentBlockstamp
(),
/// Current block
CurrentBlock
()
,
CurrentBlock
,
/// Block by number
BlockByNumber
(
u64
),
BlockByNumber
{
/// Block number
block_number
:
BlockNumber
,
},
/// Chunk (block pack)
Chunk
(
u64
,
usize
),
Chunk
{
/// First block number
first_block_number
:
BlockNumber
,
/// Number of blocks
count
:
u32
,
},
/// Usernames corresponding to the public keys in parameter
UIDs
(
Vec
<
PubKey
>
),
/// Get identities
Loading