Documentation ¶
Index ¶
- Constants
- Variables
- func Main(cx *pod.State, c *cli.Context) (e error)
- type AddressEntry
- type BoolMap
- type CategoryFilter
- type CheckableMap
- type ClickableMap
- type Console
- type IncDecMap
- type Inputs
- type JSONElement
- type JSONElements
- type ListMap
- type Marshalled
- type Passwords
- type ReceivePage
- func (rp *ReceivePage) AddressbookHeader() l.Widget
- func (rp *ReceivePage) AmountInput() l.Widget
- func (rp *ReceivePage) Fn(gtx l.Context) l.Dimensions
- func (rp *ReceivePage) GetAddressbookHistoryCards(bg string) (widgets []l.Widget)
- func (rp *ReceivePage) GetQRText() string
- func (rp *ReceivePage) InputMessage() l.Widget
- func (rp *ReceivePage) MediumList(gtx l.Context) l.Dimensions
- func (rp *ReceivePage) MessageInput() l.Widget
- func (rp *ReceivePage) QRButton() l.Widget
- func (rp *ReceivePage) QRMessage() l.Widget
- func (rp *ReceivePage) RegenerateButton() l.Widget
- func (rp *ReceivePage) SmallList(gtx l.Context) l.Dimensions
- func (rp *ReceivePage) Spacer() l.Widget
- type SendPage
- func (sp *SendPage) AddressInput() l.Widget
- func (sp *SendPage) AddressbookHeader() l.Widget
- func (sp *SendPage) AmountInput() l.Widget
- func (sp *SendPage) Fn(gtx l.Context) l.Dimensions
- func (sp *SendPage) GetAddressbookHistoryCards(bg string) (widgets []l.Widget)
- func (sp *SendPage) InputMessage() l.Widget
- func (sp *SendPage) MediumList(gtx l.Context) l.Dimensions
- func (sp *SendPage) MessageInput() l.Widget
- func (sp *SendPage) PasteButton() l.Widget
- func (sp *SendPage) SaveButton() l.Widget
- func (sp *SendPage) SendButton() l.Widget
- func (sp *SendPage) SmallList(gtx l.Context) l.Dimensions
- type State
- func (s *State) ActivePage() string
- func (s *State) Balance() float64
- func (s *State) BalanceUnconfirmed() float64
- func (s *State) BestBlockHash() *chainhash.Hash
- func (s *State) BestBlockHeight() int32
- func (s *State) BumpLastUpdated()
- func (s *State) Goroutines() []l.Widget
- func (s *State) IsReceivingAddress() bool
- func (s *State) LastUpdated() time.Time
- func (s *State) Load(filename string, pass *string) (e error)
- func (s *State) Marshal() (out *Marshalled)
- func (s *State) Save(filename string, pass *string) (e error)
- func (s *State) SetActivePage(page string)
- func (s *State) SetAllTxs(atxs []btcjson.ListTransactionsResult)
- func (s *State) SetBalance(total float64)
- func (s *State) SetBalanceUnconfirmed(unconfirmed float64)
- func (s *State) SetBestBlockHash(h *chainhash.Hash)
- func (s *State) SetBestBlockHeight(height int32)
- func (s *State) SetGoroutines(gr []l.Widget)
- func (s *State) SetReceivingAddress(addr btcaddr.Address)
- type WalletGUI
- func (wg *WalletGUI) Advertise() (e error)
- func (wg *WalletGUI) ChainNotifications() *rpcclient.NotificationHandlers
- func (wg *WalletGUI) ConsolePage() *Console
- func (wg *WalletGUI) CreateWalletPage(gtx l.Context) l.Dimensions
- func (wg *WalletGUI) GetAppWidget() (a *gui.App)
- func (wg *WalletGUI) GetBools() BoolMap
- func (wg *WalletGUI) GetButtons()
- func (wg *WalletGUI) GetCheckables() CheckableMap
- func (wg *WalletGUI) GetClickables() ClickableMap
- func (wg *WalletGUI) GetIncDecs() IncDecMap
- func (wg *WalletGUI) GetInputs() Inputs
- func (wg *WalletGUI) GetLists() (o ListMap)
- func (wg *WalletGUI) GetNewReceivingAddress()
- func (wg *WalletGUI) GetNewReceivingQRCode(qrText string)
- func (wg *WalletGUI) GetPasswords() (passwords Passwords)
- func (wg *WalletGUI) GetReceivePage() (rp *ReceivePage)
- func (wg *WalletGUI) GetRunUnit(name string, before, after func(), args ...string) *rununit.RunUnit
- func (wg *WalletGUI) GetSendPage() (sp *SendPage)
- func (wg *WalletGUI) HelpPage() func(gtx l.Context) l.Dimensions
- func (wg *WalletGUI) HistoryPage() l.Widget
- func (wg *WalletGUI) HistoryPageStatusFilter() l.Widget
- func (wg *WalletGUI) HistoryPageView() l.Widget
- func (wg *WalletGUI) OverviewPage() l.Widget
- func (wg *WalletGUI) Page(title string, widget gui.Widgets) func(gtx l.Context) l.Dimensions
- func (wg *WalletGUI) PageTopBarButton(name string, index int, ico *[]byte, onClick func(string), app *gui.App, ...) func(gtx l.Context) l.Dimensions
- func (wg *WalletGUI) RecentTransactions(n int, listName string) l.Widget
- func (wg *WalletGUI) Run() (e error)
- func (wg *WalletGUI) RunStatusPanel(gtx l.Context) l.Dimensions
- func (wg *WalletGUI) SetNodeRunState(b bool)
- func (wg *WalletGUI) SetWalletRunState(b bool)
- func (wg *WalletGUI) ShuffleSeed()
- func (wg *WalletGUI) SideBarButton(title, page string, index int) func(gtx l.Context) l.Dimensions
- func (wg *WalletGUI) StatusBarButton(name string, index int, ico *[]byte, onClick func(string), app *gui.App) func(gtx l.Context) l.Dimensions
- func (wg *WalletGUI) WalletAndClientRunning() bool
- func (wg *WalletGUI) WalletNotifications() *rpcclient.NotificationHandlers
- func (wg *WalletGUI) Watcher() qu.C
Constants ¶
View Source
const Break1 = 48
View Source
const ZeroAddress = "1111111111111111111114oLvT2"
Variables ¶
View Source
var F, E, W, I, D, T logg.LevelPrinter = logg.GetLogPrinterSet(subsystem)
Functions ¶
Types ¶
type AddressEntry ¶ added in v0.4.14
type CategoryFilter ¶ added in v0.4.14
CategoryFilter marks which transactions to omit from the filtered transaction list
func (*CategoryFilter) Filter ¶ added in v0.4.14
func (c *CategoryFilter) Filter(s string) (include bool)
type CheckableMap ¶ added in v1.9.16
type ClickableMap ¶ added in v1.9.16
type JSONElement ¶ added in v0.4.14
type JSONElement struct {
// contains filtered or unexported fields
}
type JSONElements ¶ added in v0.4.14
type JSONElements []JSONElement
func GetJSONElements ¶ added in v0.4.14
func GetJSONElements(in map[string]interface{}) (je JSONElements)
func (JSONElements) Len ¶ added in v0.4.14
func (je JSONElements) Len() int
func (JSONElements) Less ¶ added in v0.4.14
func (je JSONElements) Less(i, j int) bool
func (JSONElements) Swap ¶ added in v0.4.14
func (je JSONElements) Swap(i, j int)
type Marshalled ¶ added in v0.4.14
type Marshalled struct { LastUpdated time.Time BestBlockHeight int32 BestBlockHash chainhash.Hash Balance float64 BalanceUnconfirmed float64 AllTxs []btcjson.ListTransactionsResult Filter CategoryFilter ReceivingAddress string ActivePage string ReceiveAddressBook []AddressEntry SendAddressBook []AddressEntry }
func (*Marshalled) Unmarshal ¶ added in v0.4.14
func (m *Marshalled) Unmarshal(s *State)
type ReceivePage ¶ added in v1.9.16
type ReceivePage struct {
// contains filtered or unexported fields
}
func (*ReceivePage) AddressbookHeader ¶ added in v1.9.16
func (rp *ReceivePage) AddressbookHeader() l.Widget
func (*ReceivePage) AmountInput ¶ added in v1.9.16
func (rp *ReceivePage) AmountInput() l.Widget
func (*ReceivePage) Fn ¶ added in v1.9.16
func (rp *ReceivePage) Fn(gtx l.Context) l.Dimensions
func (*ReceivePage) GetAddressbookHistoryCards ¶ added in v1.9.16
func (rp *ReceivePage) GetAddressbookHistoryCards(bg string) (widgets []l.Widget)
func (*ReceivePage) GetQRText ¶ added in v1.9.16
func (rp *ReceivePage) GetQRText() string
func (*ReceivePage) InputMessage ¶ added in v1.9.20
func (rp *ReceivePage) InputMessage() l.Widget
func (*ReceivePage) MediumList ¶ added in v1.9.16
func (rp *ReceivePage) MediumList(gtx l.Context) l.Dimensions
func (*ReceivePage) MessageInput ¶ added in v1.9.16
func (rp *ReceivePage) MessageInput() l.Widget
func (*ReceivePage) QRButton ¶ added in v1.9.16
func (rp *ReceivePage) QRButton() l.Widget
func (*ReceivePage) QRMessage ¶ added in v1.9.16
func (rp *ReceivePage) QRMessage() l.Widget
func (*ReceivePage) RegenerateButton ¶ added in v1.9.16
func (rp *ReceivePage) RegenerateButton() l.Widget
func (*ReceivePage) SmallList ¶ added in v1.9.16
func (rp *ReceivePage) SmallList(gtx l.Context) l.Dimensions
func (*ReceivePage) Spacer ¶ added in v1.9.16
func (rp *ReceivePage) Spacer() l.Widget
type SendPage ¶ added in v1.9.16
type SendPage struct {
// contains filtered or unexported fields
}
func (*SendPage) AddressInput ¶ added in v1.9.16
func (*SendPage) AddressbookHeader ¶ added in v1.9.16
func (*SendPage) AmountInput ¶ added in v1.9.16
func (*SendPage) GetAddressbookHistoryCards ¶ added in v1.9.16
func (*SendPage) InputMessage ¶ added in v1.9.20
func (*SendPage) MediumList ¶ added in v1.9.16
func (sp *SendPage) MediumList(gtx l.Context) l.Dimensions
func (*SendPage) MessageInput ¶ added in v1.9.16
func (*SendPage) PasteButton ¶ added in v1.9.16
func (*SendPage) SaveButton ¶ added in v1.9.16
func (*SendPage) SendButton ¶ added in v1.9.16
type State ¶ added in v0.4.14
type State struct {
// contains filtered or unexported fields
}
func GetNewState ¶ added in v0.4.14
func GetNewState(params *chaincfg.Params, activePage *uberatomic.String) *State
func (*State) ActivePage ¶ added in v0.4.14
func (*State) BalanceUnconfirmed ¶ added in v0.4.14
func (*State) BestBlockHash ¶ added in v0.4.14
func (*State) BestBlockHeight ¶ added in v0.4.14
func (*State) BumpLastUpdated ¶ added in v0.4.14
func (s *State) BumpLastUpdated()
func (*State) Goroutines ¶ added in v0.4.14
func (*State) IsReceivingAddress ¶ added in v1.9.16
func (*State) LastUpdated ¶ added in v0.4.14
func (*State) Marshal ¶ added in v0.4.14
func (s *State) Marshal() (out *Marshalled)
func (*State) SetActivePage ¶ added in v0.4.14
func (*State) SetAllTxs ¶ added in v0.4.14
func (s *State) SetAllTxs(atxs []btcjson.ListTransactionsResult)
func (*State) SetBalance ¶ added in v0.4.14
func (*State) SetBalanceUnconfirmed ¶ added in v0.4.14
func (*State) SetBestBlockHash ¶ added in v0.4.14
func (*State) SetBestBlockHeight ¶ added in v0.4.14
func (*State) SetGoroutines ¶ added in v0.4.14
func (*State) SetReceivingAddress ¶ added in v1.9.16
type WalletGUI ¶
type WalletGUI struct { State *State ChainMutex, WalletMutex sync.Mutex ChainClient, WalletClient *rpcclient.Client WalletWatcher qu.C *gui.Window Size *int MainApp *gui.App RecentTxsWidget, TxHistoryWidget l.Widget // ReceiveAddressbook l.Widget // SendAddressbook l.Widget ReceivePage *ReceivePage SendPage *SendPage // contains filtered or unexported fields }
func (*WalletGUI) ChainNotifications ¶ added in v0.4.14
func (wg *WalletGUI) ChainNotifications() *rpcclient.NotificationHandlers
func (*WalletGUI) ConsolePage ¶ added in v0.4.14
func (*WalletGUI) CreateWalletPage ¶ added in v0.4.14
func (wg *WalletGUI) CreateWalletPage(gtx l.Context) l.Dimensions
func (*WalletGUI) GetAppWidget ¶ added in v0.4.14
func (*WalletGUI) GetButtons ¶ added in v0.4.14
func (wg *WalletGUI) GetButtons()
func (*WalletGUI) GetCheckables ¶ added in v1.9.16
func (wg *WalletGUI) GetCheckables() CheckableMap
func (*WalletGUI) GetClickables ¶ added in v0.4.14
func (wg *WalletGUI) GetClickables() ClickableMap
func (*WalletGUI) GetIncDecs ¶ added in v0.4.14
func (*WalletGUI) GetNewReceivingAddress ¶ added in v1.9.16
func (wg *WalletGUI) GetNewReceivingAddress()
func (*WalletGUI) GetNewReceivingQRCode ¶ added in v1.9.16
func (*WalletGUI) GetPasswords ¶ added in v0.4.14
GetPasswords returns the passwords used in the wallet GUI
func (*WalletGUI) GetReceivePage ¶ added in v1.9.16
func (wg *WalletGUI) GetReceivePage() (rp *ReceivePage)
func (*WalletGUI) GetRunUnit ¶ added in v0.4.14
func (*WalletGUI) GetSendPage ¶ added in v1.9.16
func (*WalletGUI) HelpPage ¶ added in v1.9.16
func (wg *WalletGUI) HelpPage() func(gtx l.Context) l.Dimensions
func (*WalletGUI) HistoryPage ¶ added in v0.4.14
func (*WalletGUI) HistoryPageStatusFilter ¶ added in v0.4.14
func (*WalletGUI) HistoryPageView ¶ added in v0.4.14
func (*WalletGUI) OverviewPage ¶ added in v0.4.14
func (*WalletGUI) PageTopBarButton ¶ added in v0.4.14
func (*WalletGUI) RecentTransactions ¶ added in v0.4.14
RecentTransactions generates a display showing recent transactions
fields to use: Address, Amount, BlockIndex, BlockTime, Category, Confirmations, Generated
func (*WalletGUI) RunStatusPanel ¶ added in v0.4.14
func (wg *WalletGUI) RunStatusPanel(gtx l.Context) l.Dimensions
func (*WalletGUI) SetNodeRunState ¶ added in v0.4.14
func (*WalletGUI) SetWalletRunState ¶ added in v0.4.14
func (*WalletGUI) ShuffleSeed ¶ added in v1.9.23
func (wg *WalletGUI) ShuffleSeed()
func (*WalletGUI) SideBarButton ¶ added in v0.4.14
func (*WalletGUI) StatusBarButton ¶ added in v0.4.14
func (*WalletGUI) WalletAndClientRunning ¶ added in v0.4.14
func (*WalletGUI) WalletNotifications ¶ added in v0.4.14
func (wg *WalletGUI) WalletNotifications() *rpcclient.NotificationHandlers
Click to show internal directories.
Click to hide internal directories.