0.13.0.1#49
Merged
Merged
Conversation
* fix issue with trx amounts precision in autoix-mempool.py * fix issue with trx amounts precision in p2p-autoinstantsend.py * fix issue with trx amounts precision in p2p-instantsend.py * Rallback adding empty line * Rallback adding empty line
* create base class for dash-specific tests * use common base class in p2p-autoinstantsend.py * use common base class in p2p-instantsend.py * rename check_IX_lock to wait_for_instantlock
> /usr/bin/xcrun -sdk macosx clang -v Apple LLVM version 10.0.0 (clang-1000.11.45.2) Target: x86_64-apple-darwin18.0.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin Before: > XCRUN=`/usr/bin/xcrun -sdk macosx clang -v 2>&1`; echo "$XCRUN" | sed -n 's/.*version \([0-9]\).*/\1/p' 1 After: > XCRUN=`/usr/bin/xcrun -sdk macosx clang -v 2>&1`; echo "$XCRUN" | sed -n 's/.*version \([0-9]*\).*/\1/p' 10
* Move handling of size >= SerSize into SetBuf/GetBuf Instead of performing this in the individual implementations of InternalSetBuf and InternalGetBuf * Assert that size if GetBuf is always SerSize
* Undefine ERROR before including chia BLS stuff to avoid warnings * Update Chia BLS libs to latest master
* backport python version of gitian-build from bitcoin rename gitian-build script fix release notes typo 0.12.3-backports * change gitian host IP address * docker/etc fixes * use docker as default virtualization tech * add checksum to depends download stage * add SDK download checksum added * remove SDK check * fix verification
* Use BLS keys for operator keys * Add "bls generate" RPC to generate BLS keys * Use unique_ptr to store blsKeyOperator and blsPubKeyOperator Needed because the Chia BLS library crashes when keys are created before the library is initialized, even if keys are not used. This is the case here as we have static instances here. * Remove unnecessary CheckSignature calls This seems to be some garbage I left in by mistake. * Fixed review comments * Fix rpc help for operator keys All keys that are used as examples are random. None of the secret keys belongs to any of the public keys. * Use .GetHash() instead of ::SerializeHash() for BLS pubkeys in txmempool.cpp * Rename mapProTxBlsPubKeys to mapProTxBlsPubKeyHashes
Adds -p option so that `mkdir` does not error if build dir already exists. Before this change, if chia_bls build failed for some previous reason (e.g. b/c cmake was not installed), the chia_bls build would always fail in the future because the `build` directory already exists. Previous error message: ``` $ make -j4 Configuring chia_bls... mkdir: cannot create directory ‘build’: File exists make: *** [/Users/nmarley/projects/dash/depends/work/build/x86_64-apple-darwin18.0.0/chia_bls/b24c15cef6567a855e901b4774d1d22efb063ea9-e5023308c2a/./.stamp_configured] Error 1 ```
Needed since we added Chia bls-signatures
…1609) * standart STL containers and Masternode-related classes processing * masternode-related classes * fix st containers processing, use reflection to process simple classes * Content descrioption in README.md * Increase python scripts performance Use gdb objects instead strings and type info for creating Pyton wrappers * fixed simple classes list * addition to README * fix nits * missed `the` Co-Authored-By: gladcow <sergey@dash.org> * fix nits Co-Authored-By: gladcow <sergey@dash.org> * fixed grammatical issues Co-Authored-By: gladcow <sergey@dash.org> * fixed phrase construction Co-Authored-By: gladcow <sergey@dash.org> * missed point Co-Authored-By: gladcow <sergey@dash.org> * fixed grammatical issues Co-Authored-By: gladcow <sergey@dash.org> * remove double space Co-Authored-By: gladcow <sergey@dash.org> * fixed grammatical issues Co-Authored-By: gladcow <sergey@dash.org>
* Remove nProtocolVersion fields from deterministic masternode lists This field was part of my initial implementation from DIP3. One of the last changes of DIP3 was then to remove this field, which I did not bring back into code yet. This commit removes it now. We use PROTOCOL_VERSION now in cases were compatibility in the the pre-DIP3 list is needed. * Add type and mode fields in DIP3 special TXs These were added to DIP3 but not in-code yet. * Add DMN_PROTO_VERSION
…lock (#2370) It wasn't even locked, which causes AssertLockHeld to fail.
We actually do masternode testing now and we will rely on this behavior
We still don't really use this file (it won't even work), but it's good to have CLion not brable about unknown stuff all the time.
* Allow to use low difficulty and higher block rewards for devnet Configurable through -minimumdifficultyblocks, -highsubsidyblocks and -highsubsidyfactor * Fix review comments * Handle review comments
Makes consistent with both DIP-3 and the order above
* Clear devNetParams and mimic behavior of other param types Mainnet, testnet and regtest params are global and thus zero initialized, we should mimic the same for devnet params. Not doing so results in all kinds of issues on devnet. * Remove unnecessary <string.h> includein chainparamsbase.cpp
* Trivial - Typo in getbalance RPC * Clarify addlocked description in getbalance RPC Co-Authored-By: thephez <thephez@gmail.com>
* Pass CCoinsView reference to special TX handling methods * Allow referencing other TX outputs for ProRegTx collateral * Remove "collateralAmount" from "protx register" * Rename "protx register" to "protx fund_register" * Remove UpdateSpork15Value from CDeterministicMNManager Was not used/implemented anymore * Lock masternode collaterals after chain/DIP3 is fully initialized Otherwise detection of collaterals does not work. * Implement new "protx register" RPC which uses existing collaterals * Remove "masternode info" RPC It is not consistent with other "masternode" RPCs anymore as it requires the ProRegTx hash while all other RPCs work with the collateral. * Load sporks from disk cache before initializing the chain Otherwise spork15 is not loaded when we check it for the first time. * Implement "protx info" RPC * Use "protx info" instead of "masternode info" in DIP3 tests * Test external collaterals for ProTx * Handle review comments * Don't pass CCoinView reference when it's not used * Revert "Pass CCoinsView reference to special TX handling methods" This reverts commit 28688724e112c8fe18e44aef055768dbbc068d7d. * Use GetUTXOCoin instead of now removed coinsView Also remove collateral height check as GetUTXOCoin only returns confirmed coins. * Add conflict handling for external collaterals to mempool * Handle review comments (squashed Github suggestions) Co-Authored-By: codablock <ablock84@gmail.com>
* Change all references to darksend to privatesend * comment references to darksend
* Fix code style in DIP2/DIP3 code (single statement ifs with curly braces) * Fix DIP3 RPC help strings * Handle review comments * Handle more review comments
…te in auto IX (#2380) * Remove global fDIP0003ActiveAtTip flag and always use VersionBitsState fDIP0003ActiveAtTip was used much more often when introduced but turned out to be not very useful in most places. Always use VersionBitsState now. * Fix wrong use of VersionBitsState auto IX * Make sure isAutoLockBip9Active flag is reset in case of chain reorgs
Specify masternodeblsprivkey which is required in masternode mode now. This should fix IS test failures which occur because of `Warning: You should specify a masternodeblsprivkey in the configuration. Please see documentation for help.` init error (there are other issues, so auto-IS test are still going to fail).
…tion (#2375) * Add pooled_secure_allocator and mt_pooled_secure_allocator * Use mt_pooled_secure_allocator for BLS secure allocation The old solution relied on thread-local-storage and was thus not compatible to libc6 2.11 (which is the minimum supported version we use). Also, the old solution turned out to be erroneous. It would have crashed or memory leaked when ownership of CBLSPrivateKey would be handled over to another thread. * Add new header files to Makefile.am * Fix copyright headers of new files * Bail out early from secure deallocation * Clean up global BLS keys when shutting down
The old solution was unnecessarily complicated and resulted in failed tests to be shown as successful (the exit code was ignored).
This will call "mnsync next" multiple times to force finishing of mnsync. Also reduce sleep time to 200ms.
…em anymore (#2384) * Implement RemoveAskFor to indicate that we're not interested in an item anymore When an INV item is received from the first node, the item is requested immediately. If the same item is received from another node, an entry is added to mapAskFor which marks the item for re-requesting in case the first node did not respond. When the item is received from the first node, the item was previously never removed from mapAskFor. Only the later getdata loop in SendMessages would then gradually remove items from the map. This is quite delayed however as the entries in mapAskFor have a timeout value. RemoveAskFor allows to remove all entries from mapAskFor and setAskFor when we are not interested in the item anymore (e.g. because we received it already). * Call RemoveAskFor whenever we receive a message * Only pass hash instead of CInv object to RemoveAskFor
* Release notes 0.13.0.0 * Mention privatesendmultisession=1 requirement for fast mixing * Update release-notes.md * Update release-notes.md * small fix * add 2585
Add owner and voting addresses to rpc output, unify it across different methods. Also fix keyid option in `masternode list` rpc.
* fix source files * make translate: en strings * ru * fi * vi * pl * bg, de, it, ko, nl, sk, tr, zh_CN * es, th * ar dash_ar.ts: Mismatch between 'Are you sure you want to start masternode %1?' and 'هل أنت متأكد أنك تريد بدء ماسترنود 1%؟' dash_ar.ts: Mismatch between 'Output debugging information (default: %u, supplying <category> is optional)' and 'معلومات تصحيح الخرج <category>ا(ختياري)' * ar, es, pt, tr dash_ar.ts: Mismatch between 'Are you sure you want to start masternode %1?' and 'هل أنت متأكد أنك تريد بدء ماسترنود 1%؟' dash_ar.ts: Mismatch between 'Output debugging information (default: %u, supplying <category> is optional)' and 'معلومات تصحيح الخرج * fi * fr, zh_TW * ja
…quested (#2622) (#2624) * Remove support for "0" as an alternative to "" when the default is requested * Update src/rpc/rpcevo.cpp Co-Authored-By: codablock <ablock84@gmail.com>
* Update 0.13.0.0 release notes * Apply suggestions from code review Co-Authored-By: UdjinM6 <UdjinM6@users.noreply.github.com> * add latest commits
* Add `Mining` section to `Notable changes`, mention P2SH and `script` in `getblocktemplate` * Also mention `coinbase_payload`
- set DIP3 timestamps - small font color tuning in sendcoinsdialog
OwenRay
approved these changes
Mar 29, 2024
camenlx
approved these changes
Mar 29, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
updated check points for 0.13.0.1 release