Skip to content

Commit

Permalink
Initial work on benchmarks + small reorg
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Deferrari authored and bkontur committed Sep 18, 2020
1 parent 445d5e1 commit 82ff01f
Show file tree
Hide file tree
Showing 7 changed files with 743 additions and 176 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
### Rust template
# Generated by Cargo
# will have compiled files and executables
/target/
target/

# These are backup files generated by rustfmt
**/*.rs.bk
Expand All @@ -19,4 +19,4 @@
/bootstrap_db
/.vscode

light_node/etc/tezedge/identity.json
light_node/etc/tezedge/identity.json
232 changes: 232 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion tezos/api/src/ocaml_conv/mod.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
// Copyright (c) SimpleStaking and Tezedge Contributors
// SPDX-License-Identifier: MIT

use tezos_messages::p2p::encoding::operations_for_blocks::Path;
use tezos_messages::p2p::encoding::{
block_header::BlockHeader, operation::Operation, operations_for_blocks::Path,
};

// FFI Wrappers
#[repr(transparent)]
pub struct FfiPath(pub Path);
#[repr(transparent)]
pub struct FfiBlockHeader(pub BlockHeader);
#[repr(transparent)]
pub struct FfiOperation(pub Operation);

// Hashes
struct OCamlHash {}
Expand Down
Loading

0 comments on commit 82ff01f

Please sign in to comment.