Skip to content

Commit e9e5a24

Browse files
UdjinM6schinzelh
authored andcommitted
fixing strings and docs + instantsend.md (#1354)
1 parent e3288a7 commit e9e5a24

12 files changed

+42
-21
lines changed

dash-docs/protocol-documentation.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,26 @@ User's signed inputs for a group transaction in a mixing session
164164
| ---------- | ----------- | --------- | -------- |
165165
| # | inputs | CTxIn[] | signed inputs for mixing session
166166

167+
168+
### TXLOCKREQUEST - "ix"
169+
170+
CTxLockRequest
171+
172+
Transaction Lock Request, serialization is the same as for CTransaction.
173+
174+
### TXLOCKVOTE - "txlvote"
175+
176+
CTxLockVote
177+
178+
Transaction Lock Vote
179+
180+
| Field Size | Field Name | Data type | Description |
181+
| ---------- | ----------- | --------- | -------- |
182+
| 32 | txHash | uint256 | txid of the transaction to lock
183+
| 36 | outpoint | COutPoint | The utxo to lock in this transaction
184+
| 36 | outpointMasternode | COutPoint | The utxo of the masternode which is signing the vote
185+
| 71-73 | vchMasternodeSignature | char[] | Signature of this message by masternode (verifiable via pubKeyMasternode)
186+
167187
### MNGOVERNANCEOBJECT - "govobj"
168188

169189
Governance Object
@@ -189,9 +209,9 @@ Masternodes use governance voting in response to new proposals, contracts, setti
189209

190210
| Field Size | Field Name | Data type | Description |
191211
| ---------- | ----------- | --------- | -------- |
192-
| 4 | nVoteSignal | int | ???
193212
| 41+ | vinMasternode | CTxIn | Unspent output for the masternode which is voting
194213
| 32 | nParentHash | uint256 | Object which we're voting on (proposal, contract, setting or final budget)
195214
| 4 | nVoteOutcome | int | ???
215+
| 4 | nVoteSignal | int | ???
196216
| 8 | nTime | int64_t | Time which the vote was created
197217
| 71-73 | vchSig | char[] | Signature of the masternode

doc/build-osx.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ Instructions: Homebrew
3232

3333
#### Install dependencies using Homebrew
3434

35-
brew install autoconf automake berkeley-db4 libtool boost miniupnpc openssl pkg-config protobuf qt5 libevent
35+
brew install autoconf automake berkeley-db4 libtool boost miniupnpc openssl pkg-config protobuf libevent
3636

37-
NOTE: Building with Qt4 is still supported, however, could result in a broken UI. As such, building with Qt5 is recommended.
37+
NOTE: Building with Qt4 is still supported, however, could result in a broken UI. As such, building with Qt5 is recommended. Qt5 5.7 requires C++11 which Dash Core doesn't fully support yet, Qt5 5.6.2 has some other issues, so make sure to install Qt version < 5.6.2 (5.6.1-1 is recommended).
38+
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/e6d954bab88e89c5582498157077756900865070/Formula/qt5.rb
3839

3940
### Building Dash Core
4041

doc/developer-notes.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ to see it.
110110

111111
**testnet and regtest modes**
112112

113-
Run with the -testnet option to run with "play bitcoins" on the test network, if you
113+
Run with the -testnet option to run with "play coins" on the test network, if you
114114
are testing multi-machine code that needs to operate across the internet.
115115

116116
If you are testing something that can run on one machine, run with the -regtest option.
@@ -154,7 +154,7 @@ Threads
154154

155155
- ThreadMapPort : Universal plug-and-play startup/shutdown
156156

157-
- ThreadSocketHandler : Sends/Receives data from peers on port 8333.
157+
- ThreadSocketHandler : Sends/Receives data from peers on port 9999.
158158

159159
- ThreadOpenAddedConnections : Opens network connections to added nodes.
160160

@@ -168,7 +168,7 @@ Threads
168168

169169
- ThreadRPCServer : Remote procedure call handler, listens on port 9998 for connections and services them.
170170

171-
- BitcoinMiner : Generates bitcoins (if wallet is enabled).
171+
- BitcoinMiner : Generates coins (if wallet is enabled).
172172

173173
- ThreadCheckDarkSendPool : Runs masternode list and sync data update loops
174174

src/activemasternode.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ void CActiveMasternode::ManageStateRemote()
242242
}
243243
if(service != infoMn.addr) {
244244
nState = ACTIVE_MASTERNODE_NOT_CAPABLE;
245-
strNotCapableReason = "Specified IP doesn't match our external address.";
245+
strNotCapableReason = "Broadcasted IP doesn't match our external address. Make sure you issued a new broadcast if IP of this masternode changed recently.";
246246
LogPrintf("CActiveMasternode::ManageStateRemote -- %s: %s\n", GetStateString(), strNotCapableReason);
247247
return;
248248
}

src/masternode-payments.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ void CMasternodePayments::RequestLowDataPaymentBlocks(CNode* pnode)
915915
}
916916
// We should not violate GETDATA rules
917917
if(vToFetch.size() == MAX_INV_SZ) {
918-
LogPrintf("CMasternodePayments::SyncLowDataPaymentBlocks -- asking peer %d for %d blocks\n", pnode->id, MAX_INV_SZ);
918+
LogPrintf("CMasternodePayments::SyncLowDataPaymentBlocks -- asking peer %d for %d payment blocks\n", pnode->id, MAX_INV_SZ);
919919
pnode->PushMessage(NetMsgType::GETDATA, vToFetch);
920920
// Start filling new batch
921921
vToFetch.clear();
@@ -924,7 +924,7 @@ void CMasternodePayments::RequestLowDataPaymentBlocks(CNode* pnode)
924924
}
925925
// Ask for the rest of it
926926
if(!vToFetch.empty()) {
927-
LogPrintf("CMasternodePayments::SyncLowDataPaymentBlocks -- asking peer %d for %d blocks\n", pnode->id, vToFetch.size());
927+
LogPrintf("CMasternodePayments::SyncLowDataPaymentBlocks -- asking peer %d for %d payment blocks\n", pnode->id, vToFetch.size());
928928
pnode->PushMessage(NetMsgType::GETDATA, vToFetch);
929929
}
930930
}

src/masternode-sync.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ void CMasternodeSync::ProcessTick()
274274
{
275275
if(IsSynced()) {
276276
/*
277-
Resync if we lose all masternodes from sleep/wake or failure to sync originally
277+
Resync if we lost all masternodes from sleep/wake or failed to sync originally
278278
*/
279279
if(nMnCount == 0) {
280280
LogPrintf("CMasternodeSync::ProcessTick -- WARNING: not enough data, restarting sync\n");
@@ -362,8 +362,8 @@ void CMasternodeSync::ProcessTick()
362362
// NORMAL NETWORK MODE - TESTNET/MAINNET
363363
{
364364
if(netfulfilledman.HasFulfilledRequest(pnode->addr, "full-sync")) {
365-
// we already fully synced from this node recently,
366-
// disconnect to free this connection slot for a new node
365+
// We already fully synced from this node recently,
366+
// disconnect to free this connection slot for another peer.
367367
pnode->fDisconnect = true;
368368
LogPrintf("CMasternodeSync::ProcessTick -- disconnecting from recently synced peer %d\n", pnode->id);
369369
continue;

src/miner.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ CBlockTemplate* CreateNewBlock(const CChainParams& chainparams, const CScript& s
283283
txNew.vout[0].nValue = blockReward;
284284
txNew.vin[0].scriptSig = CScript() << nHeight << OP_0;
285285

286-
// Update coinbase transaction with additional info about masternode and governace payments,
286+
// Update coinbase transaction with additional info about masternode and governance payments,
287287
// get some info back to pass to getblocktemplate
288288
FillBlockPayments(txNew, nHeight, blockReward, pblock->txoutMasternode, pblock->voutSuperblock);
289289
// LogPrintf("CreateNewBlock -- nBlockHeight %d blockReward %lld txoutMasternode %s txNew %s",

src/qt/forms/masternodelist.ui

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<item>
6868
<widget class="QLabel" name="updateNote">
6969
<property name="text">
70-
<string>Note: Status of your masternodes in local wallet can potentially be slightly incorrect.&lt;br /&gt;Always wait for wallet to sync additional data and then double check from another node&lt;br /&gt;if your node should be running but you still see "MISSING" in "Status" field.</string>
70+
<string>Note: Status of your masternodes in local wallet can potentially be slightly incorrect.&lt;br /&gt;Always wait for wallet to sync additional data and then double check from another node&lt;br /&gt;if your masternode should be running but you still do not see "ENABLED" in "Status" field.</string>
7171
</property>
7272
</widget>
7373
</item>
@@ -134,7 +134,7 @@
134134
</column>
135135
<column>
136136
<property name="text">
137-
<string>Pubkey</string>
137+
<string>Payee</string>
138138
</property>
139139
</column>
140140
</widget>
@@ -257,7 +257,7 @@
257257
</column>
258258
<column>
259259
<property name="text">
260-
<string>Pubkey</string>
260+
<string>Payee</string>
261261
</property>
262262
</column>
263263
</widget>

src/qt/forms/optionsdialog.ui

+1-1
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@
505505
<item>
506506
<widget class="QCheckBox" name="connectSocksTor">
507507
<property name="toolTip">
508-
<string>Connect to the Bitcoin network through a separate SOCKS5 proxy for Tor hidden services.</string>
508+
<string>Connect to the Dash network through a separate SOCKS5 proxy for Tor hidden services.</string>
509509
</property>
510510
<property name="text">
511511
<string>Use separate SOCKS5 proxy to reach peers via Tor hidden services:</string>

src/qt/forms/signverifymessagedialog.ui

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<item>
3131
<widget class="QLabel" name="infoLabel_SM">
3232
<property name="text">
33-
<string>You can sign messages/agreements with your addresses to prove you can receive bitcoins sent to them. Be careful not to sign anything vague or random, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to.</string>
33+
<string>You can sign messages/agreements with your addresses to prove you can receive Dash sent to them. Be careful not to sign anything vague or random, as phishing attacks may try to trick you into signing your identity over to them. Only sign fully-detailed statements you agree to.</string>
3434
</property>
3535
<property name="textFormat">
3636
<enum>Qt::PlainText</enum>

src/qt/utilitydialog.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ You retain control of your money at all times..<hr> \
141141
<b>The PrivateSend process works like this:</b>\
142142
<ol type=\"1\"> \
143143
<li>PrivateSend begins by breaking your transaction inputs down into standard denominations. \
144-
These denominations are 0.01 DASH, 0.1 DASH, 1 DASH, and 10 DASH--sort of like the paper money you use every day.</li> \
144+
These denominations are 0.01 DASH, 0.1 DASH, 1 DASH and 10 DASH -- sort of like the paper money you use every day.</li> \
145145
<li>Your wallet then sends requests to specially configured software nodes on the network, called \"masternodes.\" \
146146
These masternodes are informed then that you are interested in mixing a certain denomination. \
147147
No identifiable information is sent to the masternodes, so they never know \"who\" you are.</li> \

src/wallet/rpcwallet.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ UniValue sendtoaddress(const UniValue& params, bool fHelp)
422422
" to which you're sending the transaction. This is not part of the \n"
423423
" transaction, just kept in your wallet.\n"
424424
"5. subtractfeefromamount (boolean, optional, default=false) The fee will be deducted from the amount being sent.\n"
425-
" The recipient will receive less bitcoins than you enter in the amount field.\n"
425+
" The recipient will receive less amount of Dash than you enter in the amount field.\n"
426426
"6. \"use_is\" (bool, optional) Send this transaction as InstantSend (default: false)\n"
427427
"7. \"use_ps\" (bool, optional) Use anonymized funds only (default: false)\n"
428428
"\nResult:\n"
@@ -489,7 +489,7 @@ UniValue instantsendtoaddress(const UniValue& params, bool fHelp)
489489
" to which you're sending the transaction. This is not part of the \n"
490490
" transaction, just kept in your wallet.\n"
491491
"5. subtractfeefromamount (boolean, optional, default=false) The fee will be deducted from the amount being sent.\n"
492-
" The recipient will receive less bitcoins than you enter in the amount field.\n"
492+
" The recipient will receive less amount of Dash than you enter in the amount field.\n"
493493
"\nResult:\n"
494494
"\"transactionid\" (string) The transaction id.\n"
495495
"\nExamples:\n"

0 commit comments

Comments
 (0)