Rebuild against current RL main
[ldk-c-bindings] / 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 /// serialization buffer size
9
10 #[no_mangle]
11 pub static MAX_BUF_SIZE: usize = lightning::util::ser::MAX_BUF_SIZE;