patch master applied patches (#33)
* Fix filename of wagerr.desktop for Snapcraft builds
* [Build] Update build system from upstream
This brings in up-to-date m4 files and adjusts our configure and
automake files accordingly.
* Fix VLA error in hash.h
Prior updates to the build system now treat VLAs as errors, so we need
to fix `src/hash.h`
* Use and define `strnlen` if not already defined
`strnlen()` is defined on a number of systems already, however older
versions of OS X don't define it. Rather than using a custom
`strnlen_int()` function to avoid double-declaration, wrap our own
declaration in a precompiler conditional instead.
* mac: update macdeployqtplus and Info.plist.in
Removed an unused variable from `macdeployqtplus`, typos fixed, and
added two keys to the Mac `Info.plist.in` file.
* build: Deduplicate version numbers
Reduce the number of instances where the version number needs to be
updated:
- Doxygen client version is now generated by the build system
- clientversion.h now either pulls from pivx-config.h or not at all
Also update to newer Doxygen version
* travis: switch to minimal travis image
Also increase timeout for tests
* Add old signals from main and mark unused signals with `XX42`
* Remove old `g_signals` code and replace with `GetMainSignals`
* Add `GetMainSignals` events to Miner and SwiftX
* Removed unused Slack notifications
* Add a trailing whitespace and tab char lint check to Travis
* Add Travis Python check for all non-violated flake8 rules
* Travis: Remove bc tool from dependencies
* Run Qt wallet tests on travis
* Remove duplicate pyzmq install
python3-zmq is already installed which provides python3 bindings for 0MQ
library.
* Rename Bitcoin to Wagerr in .travis.yml
* LevelDB 1.18 (#11)
* Remove LevelDB so it can be added back as a subtree
* Squashed 'src/leveldb/' content from commit 69d3879
git-subtree-dir: src/leveldb
git-subtree-split: 69d38792c87addc44eef4f33c866004ebdced4a5
* RPC: show script verification errors in "signrawtransaction" result
If there are any script verification errors, when using
"signrawtransaction", they are shown in the RPC result:
```
// ...
Result:
{
"hex" : "value", (string) The hex-encoded raw transaction with signature(s)
"complete" : true|false, (boolean) If the transaction has a complete set of signatures
"errors" : [ (json array of objects) Script verification errors (if there are any)
{
"txid" : "hash", (string) The hash of the referenced, previous transaction
"vout" : n, (numeric) The index of the output to spent and used as input
"scriptSig" : "hex", (string) The hex-encoded signature script
"sequence" : n, (numeric) Script sequence number
"error" : "text" (string) Verification or signing error related to the input
}
,...
]
}
```
* Script: Remove magic numbers
This adds two new constants, MAX_OPS_PER_SCRIPT and
MAX_PUBKEYS_PER_MULTISIG.