Skip to content

Commit

Permalink
Changed a file name, and added copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
panleone committed Feb 25, 2023
1 parent 7e6a49b commit 24b6009
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ BITCOIN_CORE_H = \
wallet/rpcwallet.h \
wallet/scriptpubkeyman.h \
wallet/bip39.h \
wallet/bip39_english.json.h \
wallet/bip39_word_lists.json.h \
destination_io.h \
wallet/fees.h \
wallet/init.h \
Expand Down
6 changes: 6 additions & 0 deletions src/qt/pivx/seedslot.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
// Copyright (c) 2023 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include "qt/pivx/seedslot.h"

#include "qlabel.h"

#include <QColor>
#include <QGridLayout>

Expand Down
4 changes: 4 additions & 0 deletions src/qt/pivx/seedslot.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2023 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#ifndef SEEDSLOT_H
#define SEEDSLOT_H

Expand Down
1 change: 0 additions & 1 deletion src/qt/pivx/welcomecontentwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,6 @@ void WelcomeContentWidget::setSeedPhrase(const std::string& lang, bool firstLoad
} else {
for (int i = 0; i < 24; i++) {
output_slots[i]->t_label->setText(QString::fromStdString(seed_split.at(i)));
input_seeds[i]->setStyleSheet("border-bottom:2px solid gray;");
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/bip39.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "crypto/scrypt.h"
#include "crypto/sha256.h"
#include "random.h"
#include "wallet/bip39_english.json.h"
#include "wallet/bip39_word_lists.json.h"

#include <algorithm>
#include <array>
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/bip39.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ enum BIP39_ERRORS {
size_t split(const std::string& txt, std::vector<std::string>& strs, char ch);
std::string getCachedSeedphrase();
void resetCachedSeedphrase();
std::string EntropyToSeedPhrase(const std::vector<uint8_t>& entropy);
std::string EntropyToSeedPhrase(const std::vector<uint8_t>& entropy, const std::string& lang);
std::string CreateRandomSeedPhrase(bool wantToCache, const std::string& lang);
int CheckValidityOfSeedPhrase(const std::string& seedphrase, bool wantToCache);
std::vector<uint8_t> GenerateSeedFromMnemonic(const std::string& mnemonic, const std::string& passphrase = "");
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions src/wallet/scriptpubkeyman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include "wallet/scriptpubkeyman.h"

#include "crypter.h"
#include "script/standard.h"
#include "wallet/bip39.h"
Expand Down

0 comments on commit 24b6009

Please sign in to comment.