Documentation ¶
Index ¶
Constants ¶
View Source
const ( TRANSACTION_TYPE_INCOMING = "incoming" TRANSACTION_TYPE_OUTGOING = "outgoing" TRANSACTION_STATE_PENDING = "PENDING" TRANSACTION_STATE_SETTLED = "SETTLED" TRANSACTION_STATE_FAILED = "FAILED" )
View Source
const ( BUDGET_RENEWAL_DAILY = "daily" BUDGET_RENEWAL_WEEKLY = "weekly" BUDGET_RENEWAL_MONTHLY = "monthly" BUDGET_RENEWAL_YEARLY = "yearly" BUDGET_RENEWAL_NEVER = "never" )
View Source
const ( PAY_INVOICE_SCOPE = "pay_invoice" // also covers pay_keysend and multi_* payment methods GET_BALANCE_SCOPE = "get_balance" GET_INFO_SCOPE = "get_info" MAKE_INVOICE_SCOPE = "make_invoice" LOOKUP_INVOICE_SCOPE = "lookup_invoice" LIST_TRANSACTIONS_SCOPE = "list_transactions" SIGN_MESSAGE_SCOPE = "sign_message" NOTIFICATIONS_SCOPE = "notifications" // covers all notification types )
View Source
const INVOICE_METADATA_MAX_LENGTH = 2048
limit encoded metadata length, otherwise relays may have trouble listing multiple transactions given a relay limit of 512000 bytes and ideally being able to list 50 transactions, each transaction would have to have a maximum size of 10240 accounting for encryption and other metadata in the response, this is set to 2048 characters
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.