orb.lnd.lnd_mock module

class orb.lnd.lnd_mock.Balance(total_balance, confirmed_balance, unconfirmed_balance)

Bases: tuple

confirmed_balance

Alias for field number 1

total_balance

Alias for field number 0

unconfirmed_balance

Alias for field number 2

orb.lnd.lnd_mock.CB

alias of ChannelBalanceObj

class orb.lnd.lnd_mock.Channel(capacity: Any, remote_pubkey: Any, local_balance: Any, remote_balance: Any, chan_id: Any, pending_htlcs: Any, total_satoshis_sent: Any, total_satoshis_received: Any, initiator: Any, commit_fee: Any, unsettled_balance: Any, channel_point: Any)

Bases: object

ListFields()
capacity: Any
chan_id: Any
channel_point: Any
commit_fee: Any
initiator: Any
local_balance: Any
pending_htlcs: Any
remote_balance: Any
remote_pubkey: Any
total_satoshis_received: Any
total_satoshis_sent: Any
unsettled_balance: Any
class orb.lnd.lnd_mock.ChannelBalance(local_balance, remote_balance, unsettled_local_balance, unsettled_remote_balance)

Bases: tuple

local_balance

Alias for field number 0

remote_balance

Alias for field number 1

unsettled_local_balance

Alias for field number 2

unsettled_remote_balance

Alias for field number 3

class orb.lnd.lnd_mock.FeeReport(day_fee_sum, week_fee_sum, month_fee_sum)

Bases: tuple

day_fee_sum

Alias for field number 0

month_fee_sum

Alias for field number 2

week_fee_sum

Alias for field number 1

class orb.lnd.lnd_mock.Info(alias, identity_pubkey)

Bases: tuple

alias

Alias for field number 0

identity_pubkey

Alias for field number 1

class orb.lnd.lnd_mock.LndMock

Bases: object

channel_balance()
fee_report()
get_balance()
get_channel_events()
get_channels()
get_forwarding_history(index_offset=0, num_max_events=100)
get_htlc_events()
get_info()
get_node_alias(x)
get_pending_channels()
get_policy_from(x)
get_policy_to(x)
list_payments(include_incomplete=True, index_offset=0, max_payments=100, reversed=False)
subscribe_channel_graph()
update_channel_policy(channel, *args, **kwargs)
orb.lnd.lnd_mock.M(**kwargs)
class orb.lnd.lnd_mock.NodeInfo(alias)

Bases: tuple

alias

Alias for field number 0

class orb.lnd.lnd_mock.Policy(fee_rate_milli_msat: Any, min_htlc: Any = 1, max_htlc_msat: Any = 1000000, time_lock_delta: Any = 44, last_update: Any = '0', fee_base_msat: Any = 1000)

Bases: object

fee_base_msat: Any = 1000
fee_rate_milli_msat: Any
last_update: Any = '0'
max_htlc_msat: Any = 1000000
min_htlc: Any = 1
time_lock_delta: Any = 44