1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#![warn(missing_docs)]
#![deny(non_upper_case_globals)]
#![deny(non_camel_case_types)]
#![deny(non_snake_case)]
#![deny(unused_mut)]

//! # Lightning Payments Implementation
//!
//! This is an implementation of
//! [Lightning BOLT11 Specification](https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md)
//! for providing a minimal QR-code-ready format for requesting lightning payments.

extern crate base58check;
extern crate bitcoin_bech32;
extern crate byteorder;
extern crate crypto;
extern crate hex;
extern crate itertools;
#[macro_use]
extern crate lazy_static;
extern crate num;
extern crate secp256k1;

#[macro_use]
mod macros;
mod timestamp;
mod utils;
mod amount;
mod bech32;

pub mod types;
pub mod tag;
pub mod payment_request;