mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Update strings.
This commit is contained in:
parent
8003eb484e
commit
828b6d38a1
10
.gitignore
vendored
10
.gitignore
vendored
@ -6,6 +6,11 @@ src/bitcoind
|
||||
src/bitcoin-cli
|
||||
src/test/test_bitcoin
|
||||
src/qt/test/test_bitcoin-qt
|
||||
src/darkcoin
|
||||
src/darkcoind
|
||||
src/darkcoin-cli
|
||||
src/test/test_darkcoin
|
||||
src/qt/test/test_darkcoin-qt
|
||||
|
||||
Makefile.in
|
||||
aclocal.m4
|
||||
@ -37,6 +42,7 @@ src/qt/test/moc*.cpp
|
||||
*.o-*
|
||||
*.patch
|
||||
.bitcoin
|
||||
.darkcoin
|
||||
*.a
|
||||
*.pb.cc
|
||||
*.pb.h
|
||||
@ -52,11 +58,14 @@ src/qt/test/moc*.cpp
|
||||
*.qm
|
||||
Makefile
|
||||
bitcoin-qt
|
||||
darkcoin-qt
|
||||
Bitcoin-Qt.app
|
||||
Darkcoin-Qt.app
|
||||
|
||||
# Unit-tests
|
||||
Makefile.test
|
||||
bitcoin-qt_test
|
||||
darkcoin-qt_test
|
||||
|
||||
# Resources cpp
|
||||
qrc_*.cpp
|
||||
@ -72,6 +81,7 @@ build
|
||||
*.gcno
|
||||
/*.info
|
||||
test_bitcoin.coverage/
|
||||
test_darkcoin.coverage/
|
||||
total.coverage/
|
||||
coverage_percent.txt
|
||||
|
||||
|
22
TODO.md
22
TODO.md
@ -29,16 +29,22 @@ DONE:
|
||||
MANDATORY:
|
||||
----------
|
||||
|
||||
- Fix mining protocol to include correct pow and masternodes
|
||||
- Add masternode payment checks a.k.a. enforcement (based on blockheight)
|
||||
- Check rpcminer (should be working though)
|
||||
|
||||
|
||||
OPTIONAL:
|
||||
---------
|
||||
BUGS:
|
||||
-----
|
||||
|
||||
- Include Evan's public key for msg signing
|
||||
- Darksend, Instant Transactions, Atomic Transfers, etc. pp.
|
||||
- Include centralized checkpoint syncing (peercoin style)
|
||||
- Remove Bitcoin dead weight (SHA256, hardcoded keys, nodes)
|
||||
- Daemon and CLI tool can't connect to testnet/regtest instances (wrong port?)
|
||||
- Daemon and CLI tool can't authenticate via RPC (uh-oh?)
|
||||
- Qt wallet can't find the config file in testnet mode (wrong path?)
|
||||
|
||||
|
||||
ADDITIONAL:
|
||||
-----------
|
||||
|
||||
- Include trusted public key for message signing
|
||||
- Masternodes, Enforcement, Darksend, InstantX, Atomic Transfers, ...
|
||||
- Remove Bitcoin dead weight (SHA256, hardcoded keys, seednodes, ...)
|
||||
- Update strings
|
||||
- Write tests
|
||||
|
@ -92,7 +92,7 @@ public:
|
||||
bool operator> (const CBase58Data& b58) const { return CompareTo(b58) > 0; }
|
||||
};
|
||||
|
||||
/** base58-encoded Bitcoin addresses.
|
||||
/** base58-encoded Darkcoin addresses.
|
||||
* Public-key-hash-addresses have version 0 (or 111 testnet).
|
||||
* The data vector contains RIPEMD160(SHA256(pubkey)), where pubkey is the serialized public key.
|
||||
* Script-hash-addresses have version 5 (or 196 testnet).
|
||||
|
@ -136,7 +136,7 @@ public:
|
||||
|
||||
if (sn < (int64_t)0)
|
||||
{
|
||||
// Since the minimum signed integer cannot be represented as positive so long as its type is signed,
|
||||
// Since the minimum signed integer cannot be represented as positive so long as its type is signed,
|
||||
// and it's not well-defined what happens if you make it unsigned before negating it,
|
||||
// we instead increment the negative integer by 1, convert it, then increment the (now positive) unsigned integer by 1 to compensate
|
||||
n = -(sn + 1);
|
||||
@ -284,7 +284,7 @@ public:
|
||||
// and 0xc0de000000 is compact (0x0600c0de)
|
||||
// (0x05c0de00) would be -0x40de000000
|
||||
//
|
||||
// Bitcoin only uses this "compact" format for encoding difficulty
|
||||
// Darkcoin only uses this "compact" format for encoding difficulty
|
||||
// targets, which are unsigned 256bit quantities. Thus, all the
|
||||
// complexities of the sign bit and using base 256 are probably an
|
||||
// implementation accident.
|
||||
|
@ -26,7 +26,7 @@ struct CDNSSeedData {
|
||||
|
||||
/**
|
||||
* CChainParams defines various tweakable parameters of a given instance of the
|
||||
* Bitcoin system. There are three: the main network on which people trade goods
|
||||
* Darkcoin system. There are three: the main network on which people trade goods
|
||||
* and services, the public test network which gets reset from time to time and
|
||||
* a regression test mode which is intended for private networks only. It has
|
||||
* minimal difficulty to ensure that blocks can be found instantly.
|
||||
|
@ -334,7 +334,7 @@ public:
|
||||
// Calculate the size of the cache (in number of transactions)
|
||||
unsigned int GetCacheSize();
|
||||
|
||||
/** Amount of bitcoins coming in to a transaction
|
||||
/** Amount of darkcoins coming in to a transaction
|
||||
Note that lightweight clients may not know anything besides the hash of previous transactions,
|
||||
so may not be able to calculate this.
|
||||
|
||||
|
@ -14,11 +14,11 @@ int CommandLineRPC(int argc, char *argv[]);
|
||||
|
||||
json_spirit::Array RPCConvertValues(const std::string &strMethod, const std::vector<std::string> &strParams);
|
||||
|
||||
/** Show help message for bitcoin-cli.
|
||||
/** Show help message for darkcoin-cli.
|
||||
* The mainProgram argument is used to determine whether to show this message as main program
|
||||
* (and include some common options) or as sub-header of another help message.
|
||||
*
|
||||
* @note the argument can be removed once bitcoin-cli functionality is removed from bitcoind
|
||||
* @note the argument can be removed once darkcoin-cli functionality is removed from darkcoind
|
||||
*/
|
||||
std::string HelpMessageCli(bool mainProgram);
|
||||
|
||||
|
@ -30,7 +30,7 @@ enum HTTPStatusCode
|
||||
HTTP_INTERNAL_SERVER_ERROR = 500,
|
||||
};
|
||||
|
||||
// Bitcoin RPC error codes
|
||||
// Darkcoin RPC error codes
|
||||
enum RPCErrorCode
|
||||
{
|
||||
// Standard JSON-RPC 2.0 errors
|
||||
@ -54,7 +54,7 @@ enum RPCErrorCode
|
||||
RPC_TRANSACTION_ALREADY_IN_CHAIN= -27, // Transaction already in chain
|
||||
|
||||
// P2P client errors
|
||||
RPC_CLIENT_NOT_CONNECTED = -9, // Bitcoin is not connected
|
||||
RPC_CLIENT_NOT_CONNECTED = -9, // Darkcoin is not connected
|
||||
RPC_CLIENT_IN_INITIAL_DOWNLOAD = -10, // Still downloading initial blocks
|
||||
RPC_CLIENT_NODE_ALREADY_ADDED = -23, // Node is already added
|
||||
RPC_CLIENT_NODE_NOT_ADDED = -24, // Node has not been added before
|
||||
|
@ -63,7 +63,7 @@ public:
|
||||
};
|
||||
|
||||
/**
|
||||
* Bitcoin RPC command dispatcher.
|
||||
* Darkcoin RPC command dispatcher.
|
||||
*/
|
||||
class CRPCTable
|
||||
{
|
||||
|
@ -641,7 +641,7 @@ public:
|
||||
return nFound;
|
||||
}
|
||||
|
||||
// Pre-version-0.6, Bitcoin always counted CHECKMULTISIGs
|
||||
// Pre-version-0.6, Darkcoin always counted CHECKMULTISIGs
|
||||
// as 20 sigops. With pay-to-script-hash, that changed:
|
||||
// CHECKMULTISIGs serialized in scriptSigs are
|
||||
// counted more accurately, assuming they are of the form
|
||||
|
Loading…
Reference in New Issue
Block a user