Documentation
¶
Index ¶
- func Check(err error) bool
- func Debug(a ...interface{})
- func Debugc(fn func() string)
- func Debugf(format string, a ...interface{})
- func Debugs(a interface{})
- func Error(a ...interface{})
- func Errorc(fn func() string)
- func Errorf(format string, a ...interface{})
- func Errors(a interface{})
- func Fatal(a ...interface{})
- func Fatalc(fn func() string)
- func Fatalf(format string, a ...interface{})
- func Fatals(a interface{})
- func Info(a ...interface{})
- func Infoc(fn func() string)
- func Infof(format string, a ...interface{})
- func Infos(a interface{})
- func Main(cx *conte.Xt, c *cli.Context) (err error)
- func RigidInset(w l.Widget) l.FlexChild
- func Trace(a ...interface{})
- func Tracec(fn func() string)
- func Tracef(format string, a ...interface{})
- func Traces(a interface{})
- func Warn(a ...interface{})
- func Warnc(fn func() string)
- func Warnf(format string, a ...interface{})
- func Warns(a interface{})
- type AddressEntry
- type CategoryFilter
- type Console
- type JSONElement
- type JSONElements
- type Marshalled
- type SendAddress
- 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) LastUpdated() time.Time
- func (s *State) Load(filename string, pass *string)
- func (s *State) Marshal() (out *Marshalled)
- func (s *State) Save(filename string, pass *string) (err error)
- func (s *State) SetActivePage(page string)
- func (s *State) SetAllTxs(allTxs []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)
- type WalletGUI
- 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 *p9.App)
- func (wg *WalletGUI) GetBools() map[string]*p9.Bool
- func (wg *WalletGUI) GetButtons()
- func (wg *WalletGUI) GetClickables() map[string]*p9.Clickable
- func (wg *WalletGUI) GetIncDecs()
- func (wg *WalletGUI) GetInputs()
- func (wg *WalletGUI) GetLists() (o map[string]*p9.List)
- func (wg *WalletGUI) GetPasswords()
- func (wg *WalletGUI) GetRunUnit(name string, before, after func(), args ...string) *rununit.RunUnit
- func (wg *WalletGUI) HistoryPage() l.Widget
- func (wg *WalletGUI) HistoryPageStatusFilter() l.Widget
- func (wg *WalletGUI) HistoryPageView() l.Widget
- func (wg *WalletGUI) InitWallet() func(gtx l.Context) l.Dimensions
- func (wg *WalletGUI) OverviewPage() l.Widget
- func (wg *WalletGUI) Page(title string, widget p9.Widgets) func(gtx l.Context) l.Dimensions
- func (wg *WalletGUI) PageTopBarButton(name string, index int, ico *[]byte, onClick func(string), app *p9.App, ...) func(gtx l.Context) l.Dimensions
- func (wg *WalletGUI) ReceivePage() l.Widget
- func (wg *WalletGUI) RecentTransactions(n int, listName string) l.Widget
- func (wg *WalletGUI) Run() (err error)
- func (wg *WalletGUI) RunStatusPanel(gtx l.Context) l.Dimensions
- func (wg *WalletGUI) SendPage() l.Widget
- func (wg *WalletGUI) SetNodeRunState(b bool)
- func (wg *WalletGUI) SetWalletRunState(b bool)
- 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 *p9.App) func(gtx l.Context) l.Dimensions
- func (wg *WalletGUI) Tickers()
- func (wg *WalletGUI) WalletAndClientRunning() bool
- func (wg *WalletGUI) WalletNotifications() *rpcclient.NotificationHandlers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 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 AddressBook []AddressEntry }
func (*Marshalled) Unmarshal ¶ added in v0.4.14
func (m *Marshalled) Unmarshal(s *State)
type SendAddress ¶ added in v0.4.14
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 *netparams.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) 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(allTxs []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
type WalletGUI ¶
type WalletGUI struct { State *State ChainMutex, WalletMutex sync.Mutex ChainClient, WalletClient *rpcclient.Client Size *int App *p9.App RecentTransactionsWidget l.Widget HistoryWidget l.Widget Syncing uberatomic.Bool // 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) GetClickables ¶ added in v0.4.14
func (*WalletGUI) GetIncDecs ¶ added in v0.4.14
func (wg *WalletGUI) GetIncDecs()
func (*WalletGUI) GetPasswords ¶ added in v0.4.14
func (wg *WalletGUI) GetPasswords()
func (*WalletGUI) GetRunUnit ¶ added in v0.4.14
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) InitWallet ¶ added in v0.4.14
func (wg *WalletGUI) InitWallet() func(gtx l.Context) l.Dimensions
InitWallet renders a wallet initialization input form
func (*WalletGUI) OverviewPage ¶ added in v0.4.14
func (*WalletGUI) PageTopBarButton ¶ added in v0.4.14
func (*WalletGUI) ReceivePage ¶ 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) 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.