forked from fibercrypto/fibercryptowallet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[explorer] refs fibercrypto#248 - Changed from []QTransaction to []Tr…
…ansactionDetails type of TransactionList parameter in BlockModel in explorer package. Added - TransactionTypeGeneric to transaction types in transactions package. - Added NewTransactionDetailFromCoreTransaction method in transaction package. - Added TransactionDetails UI to Explorer UI.
- Loading branch information
Showing
6 changed files
with
189 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
package explorer | ||
|
||
// import ( | ||
// qtCore "github.com/therecipe/qt/core" | ||
// ) | ||
// | ||
func init() { | ||
BlocksModel_QmlRegisterType2("ExplorerModels", 1, 0, "QBlocks") | ||
// BlocksModel_QmlRegisterType2("ExplorerModels", 1, 0, "ExplorerManager") | ||
} | ||
|
||
// | ||
// type ExploreManager struct { | ||
// type ExplorerManager struct { | ||
// qtCore.QObject | ||
// Blockchain core.BlockchainStatus | ||
// _ func() `constructor:"init"` | ||
// | ||
// _ func(hash string) `slot:"loadBlockByHash"` | ||
// _ func() `constructor:"init"` | ||
|
||
// _ func() []*transactions.TransactionDetails `slot:"loadHistoryWithFilters"` | ||
// _ func() []*transactions.TransactionDetails `slot:"loadHistory"` | ||
// _ func(string) `slot:"addFilter"` | ||
// _ func(string) `slot:"removeFilter"` | ||
// walletEnv core.WalletEnv | ||
// } | ||
// | ||
// func (explorer *ExploreManager) init() { | ||
// logExplorer.Info("Init explorerManager") | ||
// func (em *ExplorerManager) init() { | ||
// | ||
// } | ||
// | ||
// func (em *ExplorerManager) GetTransactionDetails(txId string) *transactions.TransactionDetails { | ||
// | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters