projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename EffectiveCapacity::MaximumHTLC to ::AdvertisedMaxHTLC
[rust-lightning]
/
lightning
/
src
/
chain
/
mod.rs
diff --git
a/lightning/src/chain/mod.rs
b/lightning/src/chain/mod.rs
index cd11bc337eff97593c8f3b0640f54dcd6d2bf09f..abd888b3cf28bc12847e149f0dae1d59a2d4aecb 100644
(file)
--- a/
lightning/src/chain/mod.rs
+++ b/
lightning/src/chain/mod.rs
@@
-17,7
+17,7
@@
use bitcoin::network::constants::Network;
use bitcoin::secp256k1::PublicKey;
use crate::chain::channelmonitor::{ChannelMonitor, ChannelMonitorUpdate, MonitorEvent};
use bitcoin::secp256k1::PublicKey;
use crate::chain::channelmonitor::{ChannelMonitor, ChannelMonitorUpdate, MonitorEvent};
-use crate::
chain::keysinterface
::WriteableEcdsaChannelSigner;
+use crate::
sign
::WriteableEcdsaChannelSigner;
use crate::chain::transaction::{OutPoint, TransactionData};
use crate::prelude::*;
use crate::chain::transaction::{OutPoint, TransactionData};
use crate::prelude::*;
@@
-26,7
+26,6
@@
pub mod chaininterface;
pub mod chainmonitor;
pub mod channelmonitor;
pub mod transaction;
pub mod chainmonitor;
pub mod channelmonitor;
pub mod transaction;
-pub mod keysinterface;
pub(crate) mod onchaintx;
pub(crate) mod package;
pub(crate) mod onchaintx;
pub(crate) mod package;
@@
-40,7
+39,7
@@
pub struct BestBlock {
impl BestBlock {
/// Constructs a `BestBlock` that represents the genesis block at height 0 of the given
/// network.
impl BestBlock {
/// Constructs a `BestBlock` that represents the genesis block at height 0 of the given
/// network.
- pub fn from_
genesis
(network: Network) -> Self {
+ pub fn from_
network
(network: Network) -> Self {
BestBlock {
block_hash: genesis_block(network).header.block_hash(),
height: 0,
BestBlock {
block_hash: genesis_block(network).header.block_hash(),
height: 0,