mirror of
https://github.com/logos-blockchain/logos-blockchain-ui.git
synced 2026-07-08 16:59:45 +00:00
* Modify views * Use structure view for blocks events * Stability fixes * Add cryptarchia info block * Hide settings button on run * Pinnable accounts operation * Use stylish pin button * Show balance on transfer * Stop node on leave * Add info box with peer id * Add vouchers view to leader claim with pending counter * Add help buttons * Remove tx useless label * Update module
27 lines
1.4 KiB
Plaintext
27 lines
1.4 KiB
Plaintext
class BlockchainBackend
|
|
{
|
|
ENUM BlockchainStatus { NotStarted=0, Starting=1, Running=2, Stopping=3, Stopped=4, Error=5 }
|
|
|
|
PROP(BlockchainStatus status READONLY)
|
|
PROP(QString userConfig READWRITE)
|
|
PROP(QString deploymentConfig READWRITE)
|
|
PROP(bool useGeneratedConfig READWRITE)
|
|
PROP(QString generatedUserConfigPath READONLY)
|
|
PROP(QString lastErrorMessage READONLY)
|
|
|
|
SLOT(void startBlockchain())
|
|
SLOT(void stopBlockchain())
|
|
SLOT(void refreshAccounts())
|
|
SLOT(QVariantMap getBalance(QString addressHex))
|
|
SLOT(QVariantMap transferFunds(QString fromKeyHex, QString toKeyHex, QString amountStr))
|
|
SLOT(QVariantMap claimLeaderRewards())
|
|
SLOT(QVariantMap getCryptarchiaInfo())
|
|
SLOT(QVariantMap getPeerId())
|
|
SLOT(QVariantMap getClaimableVouchers())
|
|
SLOT(QVariantMap generateConfig(QString outputPath, QStringList initialPeers, int netPort, int blendPort, QString httpAddr, QString externalAddress, bool noPublicIpCheck, int deploymentMode, QString deploymentConfigPath, QString statePath))
|
|
SLOT(QVariantMap getNotes(QString walletAddressHex, QString optionalTipHex))
|
|
SLOT(QVariantMap channelDepositWithNotes(QString channelIdHex, QStringList inputNoteIdHexes, QString metadataBase58, QString changePublicKeyHex, QStringList fundingPublicKeyHexes, QString maxTxFee, QString optionalTipHex))
|
|
SLOT(void clearBlocks())
|
|
SLOT(void copyToClipboard(QString text))
|
|
}
|