mirror of
https://github.com/logos-blockchain/logos-blockchain-ui.git
synced 2026-07-10 18:00:04 +00:00
20 lines
1004 B
Plaintext
20 lines
1004 B
Plaintext
|
|
class BlockchainBackend
|
||
|
|
{
|
||
|
|
ENUM BlockchainStatus { NotStarted=0, Starting=1, Running=2, Stopping=3, Stopped=4, Error=5, ErrorNotInitialized=6, ErrorConfigMissing=7, ErrorStartFailed=8, ErrorStopFailed=9, ErrorSubscribeFailed=10 }
|
||
|
|
|
||
|
|
PROP(BlockchainStatus status READONLY)
|
||
|
|
PROP(QString userConfig READWRITE)
|
||
|
|
PROP(QString deploymentConfig READWRITE)
|
||
|
|
PROP(bool useGeneratedConfig READWRITE)
|
||
|
|
PROP(QString generatedUserConfigPath READONLY)
|
||
|
|
|
||
|
|
SLOT(void startBlockchain())
|
||
|
|
SLOT(void stopBlockchain())
|
||
|
|
SLOT(void refreshAccounts())
|
||
|
|
SLOT(QString getBalance(QString addressHex))
|
||
|
|
SLOT(QString transferFunds(QString fromKeyHex, QString toKeyHex, QString amountStr))
|
||
|
|
SLOT(int generateConfig(QString outputPath, QStringList initialPeers, int netPort, int blendPort, QString httpAddr, QString externalAddress, bool noPublicIpCheck, int deploymentMode, QString deploymentConfigPath, QString statePath))
|
||
|
|
SLOT(void clearLogs())
|
||
|
|
SLOT(void copyToClipboard(QString text))
|
||
|
|
}
|