Support 2.0.5 sapling turnstile
This commit is contained in:
@@ -52,6 +52,8 @@ public:
|
||||
ProgressReport getPlanProgress();
|
||||
bool isMigrationPresent();
|
||||
|
||||
static void showZcashdMigration(MainWindow* parent);
|
||||
|
||||
static double minMigrationAmount;
|
||||
private:
|
||||
QList<int> getBlockNumbers(int start, int end, int count);
|
||||
@@ -66,4 +68,27 @@ private:
|
||||
MainWindow* mainwindow;
|
||||
};
|
||||
|
||||
|
||||
// Classes for zcashd 2.0.5 native migration
|
||||
|
||||
|
||||
class MigrationTxns : public QAbstractTableModel {
|
||||
|
||||
public:
|
||||
MigrationTxns(QTableView* parent, QList<QString> txids);
|
||||
~MigrationTxns() = default;
|
||||
|
||||
int rowCount(const QModelIndex &parent) const;
|
||||
int columnCount(const QModelIndex &parent) const;
|
||||
QVariant data(const QModelIndex &index, int role) const;
|
||||
QVariant headerData(int section, Qt::Orientation orientation, int role) const;
|
||||
|
||||
QString getTxid(int row) const;
|
||||
|
||||
private:
|
||||
QList<QString> txids;
|
||||
QStringList headers;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user