Messages should be serialized according the protocol of the peer who asked us or otherwise peers running on other protocols won't be able to deserialize the message correctly.
Even the results were as expected,
IsPayToPublicKeyHash() breaks at size checking step now, as was intended.
Also removes compile time array-bounds warning.
* Fix a crash when someone tries to update sporks without specifying `sporkkey`
Before:
Crashes with `Assertion failed: (fValid), function GetPubKey, file key.cpp, line 156.`
After:
Fails and prints rpc help for `spork`
* Silence logging in CSporkMessage::CheckSignature() a bit
CMessageSigner::VerifyMessage() failure is not really an error
if CHashSigner::VerifyHash() below passes with no issues.
No need to log this.
We don't relay mnb if sync is still in progress. Creating mnb without
relaying it only increases inconsistency and leads to user confusion.
Unifying conditions for creation and relaying fixes this.
The initial ping is sent with defaults which switch MNs to SENTINEL_PING_EXPIRED state
while they should really be in PRE_ENABLED state. The fix is to split this verification
in two parts - this way sentinel version is only checked after at least one ping is received
from the masternode itself and not from the cold wallet.
* Fix typo in PS info dialog
Also adjust translations accordingly.
* Fix typo in PS low key warning
* Fix typo in sendrawtransaction help
* Fix sendtoaddress/sendmany help text
* Fix listreceivedby* help text
* Fix typo in listunspent help
* Fix spelling "recieves"->"receives"
Shame on me
* transactions->transaction
* receives->"incoming payments grouped"
* [rpc] sendrawtransaction no longer bypasses minRelayTxFee
The prioritisetransaction API can always be used if a transaction needs to be submitted that bypasses minRelayTxFee.
* Allow to bypass transaction policy limits in sendrawtransaction
Add new rpc param to sendrawtransaction to have an ability to tweak its behaviour.
Default is `false` i.e. "do not bypass".
* fix
* Mark an object for deletion when the corresponding trigger is deleted
* Mark objects for deletion if creation of corresponding triggers failed
* NULL -> nullptr
* Make sure pObj is not null
* 12.3 release notes draft
* update
* mn info dialog
* typo
* Minor additions and fixes
* A few additions
* Addressed reviews, rephrased, updated
* add recent commits
* more typos
* add recent commits
* Add recent commits
* add Chris Adam to credits for image work
* gitian-build.sh: fix signProg being recognized as two parameters
* Support docker based Gitian builds
Requires a gitian-builder version with
https://github.com/devrandom/gitian-builder/pull/181
This will also switch to use Docker by default.
* Switch back to using lxc as default until upstream gitian-builder is ready
* Qt: rename light theme to light-retro
* add new light theme with new logo images
* revert changes to light.css
* Qt: rename light-hires theme to light-hires-retro
* copy, not move
* restore light-hires.css
* all links updated from light to light-retro
* revert rm trailing spaces in src/qt/guiutil.cpp
* all links updated from light-hires to light-hires-retro
* Remove Bitcoin Gitian keys
* Update gitian-build.sh and gitian-building.md
gitian-building.md referenced "br0" but "lxcbr0" was used in the script.
gitian-build.sh used 10.0.2.2 as IP for the bridge but this conflicts with
VirtualBox networking.
* Add gitian key for codablock
https://keybase.io/codablock
* Add gitian key for schinzelh
https://keybase.io/schinzelh
* Add gitian key for gladcow
https://keybase.io/gladcow
* Add gitian key for nmarley
https://keybase.io/nmarley
* Add gitian key for udjinm6
https://keybase.io/UdjinM6
* Add EOL chars
* [Comment] - Minor Instantx comment updates and additions
* [Comment] - Update to doxygen recognised format
- Capitalisation changes
* [Comment] - Add some minor InstantSend comments
Unlike for other messages we have to check for new format even with SPORK_6_NEW_SIGS inactive because SPORK_6_NEW_SIGS default is OFF it is not the first spork to sync (and even if it would, spork order can't be guaranteed anyway).