projects
/
rust-lightning
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[bindings] Use new non-null annotation feature in cbindgen
[rust-lightning]
/
lightning-c-bindings
/
src
/
util
/
ser.rs
1
//! A very simple serialization framework which is used to serialize/deserialize messages as well
2
//! as ChannelsManagers and ChannelMonitors.
3
4
use std::ffi::c_void;
5
use bitcoin::hashes::Hash;
6
use crate::c_types::*;
7
8
9
#[no_mangle]
10
pub static MAX_BUF_SIZE: usize = lightning::util::ser::MAX_BUF_SIZE;