Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap-stream-ch-chain
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
cellframe
libdap-stream-ch-chain
Commits
689f56aa
Commit
689f56aa
authored
6 years ago
by
Dmitriy A. Gerasimov
Browse files
Options
Downloads
Patches
Plain Diff
[-] useless headers
parent
bceef78e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dap_stream_ch_chain.c
+0
-5
0 additions, 5 deletions
dap_stream_ch_chain.c
dap_stream_ch_chain_pkt.h
+2
-10
2 additions, 10 deletions
dap_stream_ch_chain_pkt.h
with
2 additions
and
15 deletions
dap_stream_ch_chain.c
+
0
−
5
View file @
689f56aa
...
...
@@ -26,13 +26,8 @@
#include
"dap_config.h"
#include
"dap_chain.h"
#include
"dap_chain_block_cache.h"
#include
"dap_chain.h"
#include
"dap_chain_datum.h"
#include
"dap_chain_blocks.h"
#include
"dap_chain_dag.h"
#include
"dap_chain_dag_event.h"
#include
"dap_chain_cs.h"
#include
"dap_stream.h"
#include
"dap_stream_ch_pkt.h"
...
...
This diff is collapsed.
Click to expand it.
dap_stream_ch_chain_pkt.h
+
2
−
10
View file @
689f56aa
...
...
@@ -28,7 +28,7 @@
#include
"dap_common.h"
#include
"dap_chain_common.h"
#include
"dap_chain_datum.h"
#include
"dap_chain_
block
.h"
#include
"dap_chain_
cs
.h"
#define STREAM_CH_CHAIN_PKT_TYPE_REQUEST 0x00
#define STREAM_CH_CHAIN_PKT_TYPE_BLOCK 0x11
...
...
@@ -51,15 +51,7 @@ typedef struct dap_stream_ch_chain_pkt_hdr{
dap_chain_shard_id_t
shard_id
;
uint8_t
type
;
uint8_t
padding1
[
3
];
union
{
struct
{
dap_chain_block_typeid_t
block_tid
;
}
tid_block
;
struct
{
dap_chain_datum_typeid_t
datum_tid
;
}
tid_datum
;
uint64_t
tid_raw
;
}
tid
;
// type id of subchain
uint64_t
tid
;
}
__attribute__
((
packed
))
dap_stream_ch_chain_pkt_hdr_t
;
typedef
struct
dap_stream_ch_chain_pkt
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment