Jump to content


Popular Content

Showing content with the highest reputation since 07/30/18 in all areas

  1. 2 points
    One of my nodes is getting a bunch of invalid transactions being sent to it: Given the fact that these transactions are off by only a few kria, it looks like someone is generating zero-fee transactions on a pre-fork wallet. Someone needs to update their wallet and make new transactions!
  2. 1 point
    Freicoin version 12.1.2-10135 is now available from: Linux 32-bit Linux 64-bit macOS (app) macOS (server) Windows 32-bit (installer) Windows 32-bit (zip) Windows 64-bit (installer) Windows 64-bit (zip) Source This is a new point release, enabling soft-fork deployment of a collection of time-lock related protocol features. Please report bugs using the issue tracker at github: https://github.com/tradecraftio/tradecraft/issues How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the installer (on Windows) or just copy over /Applications/Freicoin-Qt (on Mac) or freicoind/freicoin-qt (on Linux). Downgrade to a version < v12 Because release v12 and later will obfuscate the chainstate on every fresh sync or reindex, the chainstate is not backwards-compatible with pre-v12 versions of Freicoin or other software. If you want to downgrade after you have done a reindex with v12 or later, you will need to reindex when you first start Freicoin version v11 or earlier. This does not affect wallet forward or backward compatibility. Notable changes First version bits BIP9 softfork deployment This release includes a soft fork deployment to enforce BIP68 and BIP113 using the BIP9 deployment mechanism. The deployment sets the block version number to 0x30000001 between midnight 16 April 2019 and midnight 2 October 2019 to signal readiness for deployment. The version number consists of 0x30000000 to indicate version bits together with setting bit 0 to indicate support for this combined deployment, shown as "locktime" in the `getblockchaininfo` RPC call. (The leading bits to indicate version bits is actually 0x20000000, but version bits MUST be indicated and bit 28 set during this time period due to the earlier deployment of the coinbase-MTP soft-fork.) For more information about the soft forking change, please see: https://github.com/bitcoin/bitcoin/pull/7648 This specific backport pull-request to v0.12.1 of bitcoin, which this release is based off of, can be viewed at: https://github.com/bitcoin/bitcoin/pull/7543 Unlike bitcoin, this soft-fork deployment does NOT include support for BIP112, which provides the CHECKSEQUENCEVERIFY opcode. Support for checking sequence locks in script will be added as part of the script overhaul in segwit, scheduled for deployment with Freicoin v13. For more information regarding these soft-forks, and the implications for miners and users, please see the release notes accompanying v12.1-10123. [BIP9]: https://github.com/bitcoin/bips/blob/master/bip-0009.mediawiki [BIP65]: https://github.com/bitcoin/bips/blob/master/bip-0065.mediawiki [BIP68]: https://github.com/bitcoin/bips/blob/master/bip-0068.mediawiki [BIP112]: https://github.com/bitcoin/bips/blob/master/bip-0112.mediawiki [BIP113]: https://github.com/bitcoin/bips/blob/master/bip-0113.mediawiki 12.1.2-10135 Change log `26c3508b` [Chainparams] Add recent checkpoint, block #250992. `989cc70c` [Consensus] Add activation logic for BIP68 and BIP113. Credits Thanks to who contributed to this release, including: Mark Friedenbach As well as everyone that helped translating on Transifex.
  3. 1 point
    I don't know if there's a paper or anything looking at that. It is more a statement of our experience competing with other SHA-256 coins, and the bitcoin cash ecosystem experiencing exactly the same thing a number of years later. This sort of discussion should probably happen on the GitHub issue.
  4. 1 point
    Mark Friedenbach

    The end of the foundation

    For transparency's sake, here is the current listing of charitable organizations and the donations + matched funds that are owed to them: 'Abundant Currency Project', 29 (rejected) Donation: 0.00000000 Matched: 0.00000000 Payout: 0.00000000 Todo: 0.00000000 'Community Forge', 17 (validated) Donation: 1,996.60765506 Matched: 1,996.60765506 Payout: 1,096.20734614 Todo: 2,897.00796398 'Complementary Currency Resource Center', 28 (validated) Donation: 1,000.00000000 Matched: 1,000.00000000 Payout: 1,099.54585847 Todo: 900.45414153 'Cooperativa Integral Catalana', 14 (validated) Donation: 15,477.73483244 Matched: 15,477.73483244 Payout: 9,094.37501836 Todo: 21,861.09464652 'Drupal Commerce Marketplace', 16 (validated) Donation: 798.57617174 Matched: 798.57617174 Payout: 438.40659107 Todo: 1,158.74575241 'F-LAT', 27 (validated) Donation: 100.00420000 Matched: 100.00420000 Payout: 109.69829446 Todo: 90.31010554 'Free Knowledge Institute', 15 (validated) Donation: 3,695.07701553 Matched: 3,695.07701553 Payout: 2,623.76520409 Todo: 4,766.38882697 'Freicoin Alliance', 32 (validated) Donation: 1,286,335.57425855 Matched: 1,286,335.57425855 Payout: 1,105,617.40589899 Todo: 1,467,053.74261811 'Freicoin Foundation', 13 (validated) Donation: 79,751.56464159 Matched: 79,751.56464159 Payout: 16,930.21046862 Todo: 142,572.91881456 'FreiHemp Project', 33 (rejected) Donation: 0.00000000 Matched: 0.00000000 Payout: 0.00000000 Todo: 0.00000000 'Freimarkets protocol extension', 20 (validated) Donation: 17,595.86014102 Matched: 17,595.86014102 Payout: 13,304.66222175 Todo: 21,887.05806029 'IFLAS', 22 (validated) Donation: 1,997.61752895 Matched: 1,997.61752895 Payout: 1,097.31815021 Todo: 2,897.91690769 'INEVAL', 30 (validated) Donation: 500.00420000 Matched: 500.00420000 Payout: 524.24229693 Todo: 475.76610307 'Lifeboat Foundation', 19 (validated) Donation: 998.31990102 Matched: 998.31990102 Payout: 548.11904312 Todo: 1,448.52075892 'Munitario', 26 (validated) Donation: 1,000.00000000 Matched: 1,000.00000000 Payout: 1,096.49968184 Todo: 903.50031816 'New Economics Foundation', 21 (validated) Donation: 2,007.61912687 Matched: 2,007.61912687 Payout: 1,108.31726563 Todo: 2,906.92098811 'NWACPE Institute', 31 (validated) Donation: 88.91380667 Matched: 88.91380667 Payout: 93.40596225 Todo: 84.42165109 'Post Growth Institute', 24 (validated) Donation: 1,010.00420000 Matched: 1,010.00420000 Payout: 1,107.94076708 Todo: 912.06763292 'The Zaryvakhin Foundation', 23 (validated) Donation: 2,008.45545557 Matched: 2,008.45545557 Payout: 1,109.23580475 Todo: 2,907.67510639 'Umeed Foundation', 25 (validated) Donation: 0.00000000 Matched: 0.00000000 Payout: 0.00000000 Todo: 0.00000000 Totals: Donation: 1,416,361.93313501 Matched: 1,416,361.93313501 Payout: 1,156,999.35587376 Todo: 1,675,724.51039626 The first number "Donation" is how much freicoin in aggregate has been received at the donation addresses. "Matched" is the (tentative) amount the Freicoin Foundation would be contributing in up to 100% matches from initial-distribution funds. This number might change when the cycle-detection code is turned back on. "Payout" is the amount that has been paid out to the organization already, and "Todo" is what still needs to be paid.
  5. 1 point
    Freicoin version 12.1.1-10130 is now available from: Linux 32-bit Linux 64-bit macOS (app) macOS (server) Windows 32-bit (installer) Windows 32-bit (zip) Windows 64-bit (installer) Windows 64-bit (zip) Source This is a new bug fix release, fixing an erroneous report of unexpected version / possible versionbits upgrade on all platforms. Upgrading to this release is recommended but not required. Please report bugs using the issue tracker at github: https://github.com/tradecraftio/tradecraft/issues How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the installer (on Windows) or just copy over /Applications/Freicoin-Qt (on Mac) or freicoind/freicoin-qt (on Linux). Notable changes Erroneous versionbits upgrade notice The recent soft-fork to force vtx[0].nLockTime to be the current median-time-past requires that blocks signal for version bits and set bit #28, and to keep setting this bit once activated until 2 Oct 2019. On BIP9 versionbits-aware clients such as v12.1, this set bit is erroneously interpreted as activation of an unknown consensus rule, and the user is alerted to upgrade. This alert is generated in error and can be safely ignored in this case. However this category of alert is serious and so as to prevent user complacency in the future we are issuing a new point release to eliminate this warning. Beginning with v12.1.1, setting versionbit #28 will not trigger warnings about the activation of new consensus rules until 2 Oct 2019 (2 Apr 2019 on testnet). [BIP9]: https://github.com/bitcoin/bips/blob/master/bip-0009.mediawiki 12.1.1-10130 Change log `658b0cde1` [Alert] Do not warn about unexpected versionbits upgrade for the forced setting of bit 28 before Oct 2, 2019. `f338bd9d4` [BIP9] The last deployed pre-versionbits block version on Freicoin was 3, not 4. Credits Thanks to who contributed to this release, including: Fredrik Bodin Mark Friedenbach As well as everyone that helped translating on Transifex.
  6. 1 point
    Freicoin version 12.1-10123 is now available from: Linux 32-bit Linux 64-bit macOS (app) macOS (server) Windows 32-bit (installer) Windows 32-bit (zip) Windows 64-bit (installer) Windows 64-bit (zip) Source This is a new major version release, bringing sequence locks and lock-time soft-fork, new features, and other improvements. Please report bugs using the issue tracker at github. Upgrading and downgrading How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the installer (on Windows) or just copy over /Applications/Freicoin-Qt (on Mac) or freicoind/freicoin-qt (on Linux). Downgrade to a version < v12 Because release v12 and later will obfuscate the chainstate on every fresh sync or reindex, the chainstate is not backwards-compatible with pre-v12 versions of Freicoin or other software. If you want to downgrade after you have done a reindex with v12 or later, you will need to reindex when you first start Freicoin version v11 or earlier. Downgrade to a version < v10 Because release v10 and later makes use of headers-first synchronization and parallel block download (see further), the block files and databases are not backwards-compatible with pre-v10 versions of Freicoin or other software: Blocks will be stored on disk out of order (in the order they are received, really), which makes it incompatible with some tools or other programs. Reindexing using earlier versions will also not work anymore as a result of this. The block index database will now hold headers for which no block is stored on disk, which earlier versions won't support. If you want to be able to downgrade smoothly, make a backup of your entire data directory. Without this your node will need start syncing (or importing from bootstrap.dat) anew afterwards. It is possible that the data from a completely synchronised 0.10 node may be usable in older versions as-is, but this is not supported and may break as soon as the older version attempts to reindex. This does not affect wallet forward or backward compatibility. Notable changes Preparation for first version bits BIP9 softfork deployment This release includes all except for the activation logic for a soft fork deployment to enforce BIP68 and BIP113 using the BIP9 deployment mechanism. A future release of the v12 series will include the BIP9 activation parameters. For more information about the soft forking change, please see <https://github.com/bitcoin/bitcoin/pull/7648> This specific backport pull-request to v0.12.1 of bitcoin, which this release is based off of, can be viewed at <https://github.com/bitcoin/bitcoin/pull/7543> Unlike bitcoin, this soft-fork deployment does NOT include support for BIP112, which provides the CHECKSEQUENCEVERIFY opcode. Support for checking sequence locks in script will be added as part of the script overhaul in segwit, scheduled for deployment with Freicoin v13. [BIP9]: https://github.com/bitcoin/bips/blob/master/bip-0009.mediawiki [BIP65]: https://github.com/bitcoin/bips/blob/master/bip-0065.mediawiki [BIP68]: https://github.com/bitcoin/bips/blob/master/bip-0068.mediawiki [BIP112]: https://github.com/bitcoin/bips/blob/master/bip-0112.mediawiki [BIP113]: https://github.com/bitcoin/bips/blob/master/bip-0113.mediawiki BIP68 soft fork to enforce sequence locks for relative locktime BIP68 introduces relative lock-time consensus-enforced semantics of the sequence number field to enable a signed transaction input to remain invalid for a defined period of time after confirmation of its corresponding outpoint. For more information about the implementation, see <https://github.com/bitcoin/bitcoin/pull/7184> BIP113 locktime enforcement soft fork Freicoin v11 previously introduced mempool-only locktime enforcement using GetMedianTimePast(). This release seeks to consensus enforce the rule. Freicoin transactions currently may specify a locktime indicating when they may be added to a valid block. Current consensus rules require that blocks have a block header time greater than the locktime specified in any transaction in that block. Miners get to choose what time they use for their header time, with the consensus rule being that no node will accept a block whose time is more than two hours in the future. This creates a incentive for miners to set their header times to future values in order to include locktimed transactions which weren't supposed to be included for up to two more hours. The consensus rules also specify that valid blocks may have a header time greater than that of the median of the 11 previous blocks. This GetMedianTimePast() time has a key feature we generally associate with time: it can't go backwards. BIP113 specifies a soft fork enforced in this release that weakens this perverse incentive for individual miners to use a future time by requiring that valid blocks have a computed GetMedianTimePast() greater than the locktime specified in any transaction in that block. Mempool inclusion rules currently require transactions to be valid for immediate inclusion in a block in order to be accepted into the mempool. This release begins applying the BIP113 rule to received transactions, so transaction whose time is greater than the GetMedianTimePast() will no longer be accepted into the mempool. Implication for miners: you will begin rejecting transactions that would not be valid under BIP113, which will prevent you from producing invalid blocks when BIP113 is enforced on the network. Any transactions which are valid under the current rules but not yet valid under the BIP113 rules will either be mined by other miners or delayed until they are valid under BIP113. Note, however, that time-based locktime transactions are more or less unseen on the network currently. Implication for users: GetMedianTimePast() always trails behind the current time, so a transaction locktime set to the present time will be rejected by nodes running this release until the median time moves forward. To compensate, subtract one hour (3,600 seconds) from your locktimes to allow those transactions to be included in mempools at approximately the expected time. For more information about the implementation, see <https://github.com/bitcoin/bitcoin/pull/6566> BIP65 new opcode CHECKLOCKTIMEVERIFY This release includes several changes related to the BIP65 soft fork which redefines the existing NOP2 opcode as CHECKLOCKTIMEVERIFY (CLTV) so that a transaction output can be made unspendable until a specified point in the future. Freicoin v12 contains an implementation of CLTV which is not included in the locklock soft-fork deployment. It is currently anticipated that it will NOT be deployed to pre-segwit scripts, in order to preserve space for Forward Blocks scriptPubKey prefixes. For more information about the implementation, see <https://github.com/bitcoin/bitcoin/pull/6124> BIP112 new opcode CHECKSEQUENCEVERIFY BIP112 redefines the existing NOP3 as CHECKSEQUENCEVERIFY (CSV) for a new opcode in the Freicoin scripting system that in combination with BIP68 allows execution pathways of a script to be restricted based on the age of the output being spent. Freicoin v12 contains an implementation of CSV which is *not* included in the locklock soft-fork deployment. It is currently anticipated that it will NOT be deployed to pre-segwit scripts, in order to preserve space for Forward Blocks scriptPubKey prefixes. For more information about the implementation, see <https://github.com/bitcoin/bitcoin/pull/7524> SCRIPT_VERIFY_REQUIRE_VALID_SIGS A new rule is introduced which considers a transaction as non-standard if verification of that transaction requires a failed signature check, even if the script is written in such a way as to allow that failure. Evaluating such a script is still possible, but the CHECKSIG opcode must be provided with an empty / zero-length signature value, or k such empty values for a k-of-n CHECKMULTISIG. Since the mapping of signatures to keys was not previouly specified in the inputs of a CHECKMULTISIG, the additional extra/unused dummy argument to CHECKMULTISIG is required to be a bitfield specifying which public keys do NOT have corresponding signatures. Wallets which sign for multisig outputs MUST be updated to produce this bitfield in order for the generated transaction to be considered standard and relayed by upgraded nodes. This change is currently not scheduled for consensus enforcement, but eventually it will be as it is necessary in order to allow for batch validation of ECDSA signatures. For now it elimiates a source of witness malleability that presented a nuisance and possible DoS vector. Eventually soft-fork logic will be added to a future release once it is observed that most if not all wallets are producing conformant transactions. Implications for miners: No special action is required. Transactions which violate this rule will be rejected and not enter into your mempool, if you run with the default policy settings. Implications for users: In order to have your transactions relayed and reliably included in a block, your wallet must create the skipped key bitfield parameter for multisig scripts. The reference Freicoin wallet has been updated to generate these values. If your third party wallet software does not create conformant transactions, you may have Freicoin generate this value for you by passing the already-signed transaction through the `signrawtransaction` RPC, which will inject the proper skipped key bitfield when it re-serializes the scriptSig in its internal "combine signatures" step. Note that this necessarily malleates the transaction, changing its txid and invalidating any pre-signed dependent transactions. Finally, it is possible, though very unlikely, that someone out there has outputs controlled by a P2SH redeem script written in such a way as to require passing an invalid signature to a non-verify CHECKSIG (e.g. because the output of the CHECKSIG is then used as a branching condition), or by a multisig script where the dummy value is injected by the scriptPubKey or redeem script. If you know this applies to you, then you are encouraged in the strongest possible terms to move your funds to new scripts as quickly as possible. Once it is observed that people making regular transactions have upgraded, a soft fork to add SCRIPT_VERIFY_REQUIRE_VALID_SIGS to the consensus rules will be scheduled, which will make your funds permanently inaccessible. (If you are not sure if this applies to you, then it almost certainly does not. The development team's prior expectation is that nobody is using scripts in such a way as to have their funds permanently inaccessible as a result of this change, and they would only be doing so as a result of a conscious choice.) If you believe you are affected by these changes and are not able to move your funds, please contact the development team, e.g. by filing an issue on our issue tracker, or by email if your situation requires discretion. Signature validation using libsecp256k1 ECDSA signatures inside Freicoin transactions are now validated with libsecp256k1 instead of OpenSSL. Depending on the platform, this means a significant speedup for raw signature validation speed. The advantage is largest on x86_64, where validation is over five times faster. In practice, this translates to a raw reindexing and new block validation times that are less than half of what it was before. Libsecp256k1 has undergone very extensive testing and validation. A side effect of this change is that libconsensus no longer depends on OpenSSL. Block file and undo file size v10 introduced the time-delayed protocol-cleanup rule change, which required increasing the maximum block file size from 128 MB to nearly 2GB. This setting controls the size of the blk*.dat and rev*.dat files in the `blocks` subdirectory of the Freicoin data directory. Starting in v12, the original 128 MB limit is restored until the protocol cleanup rule change activates. Existing files will not be rewritten, however, so if you were at any point running a v10 or v11 client prior to 2 April 2021 you may have some historical block chain data files that are larger than 128 MB. This will not interfere with normal operation of your client. Should you wish to split these files up you will need to shutdown your node, delete the `blocks` subdirectory, and restart your node to re-download and re-index the block chain. Reduce upload traffic A major part of the outbound traffic is caused by serving historic blocks to other nodes in initial block download state. It is now possible to reduce the total upload traffic via the `-maxuploadtarget` parameter. This is *not* a hard limit but a threshold to minimize the outbound traffic. When the limit is about to be reached, the uploaded data is cut by not serving historic blocks (blocks older than one week). Moreover, any SPV peer is disconnected when they request a filtered block. This option can be specified in MiB per day and is turned off by default (`-maxuploadtarget=0`). The recommended minimum is 144 * MAX_BLOCK_SIZE (currently 144MB) per day. Whitelisted peers will never be disconnected, although their traffic counts for calculating the target. A more detailed documentation about keeping traffic low can be found in https://github.com/tradecraftio/tradecraft/blob/devel/doc/reduce-traffic.md. Direct headers announcement (BIP130) Between compatible peers, BIP130 direct headers announcement is used. This means that blocks are advertised by announcing their headers directly, instead of just announcing the hash. In a reorganization, all new headers are sent, instead of just the new tip. This can often prevent an extra roundtrip before the actual block is downloaded. With this change, pruning nodes are now able to relay new blocks to compatible peers. Memory pool limiting Previous versions of Freicoin had their mempool limited by checking a transaction's fees against the node's minimum relay fee. There was no upper bound on the size of the mempool and attackers could send a large number of transactions paying just slightly more than the default minimum relay fee to crash nodes with relatively low RAM. A temporary workaround for previous versions of Freicoin was to raise the default minimum relay fee. Freicoin v12 has a strict maximum size on the mempool. The default value is 300 MB and can be configured with the `-maxmempool` parameter. Whenever a transaction would cause the mempool to exceed its maximum size, the transaction that (along with in-mempool descendants) has the lowest total feerate (as a package) will be evicted and the node's effective minimum relay feerate will be increased to match this feerate plus the initial minimum relay feerate. The initial minimum relay feerate is set to 1000 kria per kB. Freicoin v12 also introduces new default policy limits on the length and size of unconfirmed transaction chains that are allowed in the mempool (generally limiting the length of unconfirmed chains to 25 transactions, with a total size of 101 KB). These limits can be overriden using command line arguments; see the extended help (`--help -help-debug`) for more information. Replace-by-fee transaction semantics Freicoin v12 introduces replace-by-fee transaction semantics, where one or more transactions in the mempool can be replaced by a conflicting transaction that pays a greater amount of fee. The criteria for replacing transactions is at this time unchanged from bitcoin's BIP125, except that ALL transactions are treated as having explicit replace-by-fee semantics regardless of whether it has any non-final inputs. Namely, One or more transactions currently in the mempool (original transactions) will be replaced by a new transaction (replacement transaction) that spends one or more of the same inputs if, (Rule #1 of BIP125 having to do with opt-in replace-by-signaling has been removed. All transactions are treated as replaceable.) The replacement transaction may only include an unconfirmed input if that input was included in one of the original transactions. (An unconfirmed input spends an output from a currently-unconfirmed transaction.) The replacement transaction pays an absolute fee of at least the sum paid by the original transactions. The replacement transaction must also pay for its own bandwidth at or above the rate set by the node's minimum relay fee setting. For example, if the minimum relay fee is 1 kria/byte and the replacement transaction is 500 bytes total, then the replacement must pay a fee at least 500 kria higher than the sum of the originals. The number of original transactions to be replaced and their descendant transactions which will be evicted from the mempool must not exceed a total of 100 transactions. Be advised that the Freicoin development team is looking into altering these rules further in future releases. Specifically, changes currently under consideration for future releases include: Batch replace-by-fee semantics in which potentially many replacement transactions are considered for simultaneous RBF replacement. This would allow a child transaction to provide the necessary fee to cover replacement of its unconfirmed and conflicting parent. This would necessarily have to be accompanied by batch transaction relay, where more than one transaction are relayed together at the network layer and processed as a group, in instances where the dependent transaction(s) pay higher fee rate than the parent. Strict fee-rate instead of absolute-fee consideration. The BIP125 rules for transaction replacement are not incentive aligned with miners in a blocks-always-full regime, who have incentives structured to make them care more about fee rate than absolute fee. No mechanims is provided for disabling transaction replacement. Should you wish to keep a transaction from being replaced in your own mempool, the `prioritisetransaction` RPC allows assigning a transaction an additional, fake fee with which to bias the replace-by-fee calculation. Implication for miners: you don't need to do anything. Your Freicoin node will automatically eject lower-fee transactions from its mempool in favor of transactions paying sufficiently higher fee, and the blocks you mine using block templates generated by your node will automatically include the transactions from your mempool paying the highest fees. Should you wish to keep a transaction from being replaced in your own mempool, and therefore chosen over conflicting transactions in blocks that you mine, you should make use of the `prioritisetransaction` RPC. Implication for users: transactions involving any outputs you do not have sole spending authority over should not be considered trusted until they have received a sufficient number of block confirmations. This was true before, but is even more relevant now. All transactions are considered replaceable, so there is nothing you or your wallet needs to do to signal this capability. Note that the graphical wallet in Freicoin v12 does not yet have support for creating transactions which conflict with known wallet transactions for the purpose of triggering mempool replacement. Such transactions can be generated with the JSON-RPC interface however, and the wallet will display details of conflicting transactions it does know about. [BIP125]: https://github.com/bitcoin/bips/blob/master/bip-0125.mediawiki RPC: Random-cookie RPC authentication When no `-rpcpassword` is specified, the daemon now uses a special 'cookie' file for authentication. This file is generated with random content when the daemon starts, and deleted when it exits. Its contents are used as authentication token. Read access to this file controls who can access through RPC. By default it is stored in the data directory but its location can be overridden with the option `-rpccookiefile`. This is similar to Tor's CookieAuthentication: see https://www.torproject.org/docs/tor-manual.html.en This allows running freicoind without having to do any manual configuration. Relay and Mining: Priority transactions Freicoin has a heuristic 'priority' based on coin value and age. This calculation is used for relaying of transactions which do not pay the minimum relay fee, and can be used as an alternative way of sorting transactions for mined blocks. Freicoin will relay transactions with insufficient fees depending on the setting of `-limitfreerelay=<r>` (default: `r=15` kB per minute) and `-blockprioritysize=<s>` (default `s=25000` or 25kB). In Freicoin v12, when mempool limit has been reached a higher minimum relay fee takes effect to limit memory usage. Transactions which do not meet this higher effective minimum relay fee will not be relayed or mined even if they rank highly according to the priority heuristic. Additionally, as a result of computational simplifications, the priority value used for transactions received with unconfirmed inputs is lower than in prior versions due to avoiding recomputing the amounts as input transactions confirm. External miner policy set via the `prioritisetransaction` RPC to rank transactions already in the mempool continues to work as it has previously. Note, however, that if mining priority transactions is left disabled, the priority delta will be ignored and only the fee metric will be effective. This internal automatic prioritization handling is being considered for removal entirely in future Freicoin releases, and the more accurate priority calculation for chained unconfirmed transactions will be restored in Freicoin v13. Automatically use Tor hidden services Starting with Tor version it is possible, through Tor's control socket API, to create and destroy 'ephemeral' hidden services programmatically. Freicoin has been updated to make use of this. This means that if Tor is running (and proper authorization is available), Freicoin automatically creates a hidden service to listen on, without manual configuration. Freicoin will also use Tor automatically to connect to other .onion nodes if the control socket can be successfully opened. This will positively affect the number of available .onion nodes and their usage. This new feature is enabled by default if Freicoin is listening, and a connection to Tor can be made. It can be configured with the `-listenonion`, `-torcontrol` and `-torpassword` settings. To show verbose debugging information, pass `-debug=tor`. Notifications through ZMQ freicoind can now (optionally) asynchronously notify clients through a ZMQ-based PUB socket of the arrival of new transactions and blocks. This feature requires installation of the ZMQ C API library 4.x and configuring its use through the command line or configuration file. Please see [docs/zmq.md](/doc/zmq.md) for details of operation. Wallet: Transaction fees Various improvements have been made to how the wallet calculates transaction fees. Users can decide to pay a predefined fee rate by setting `-paytxfee=<n>` (or `settxfee <n>` rpc during runtime). A value of `n=0` signals Freicoin to use floating fees. By default, Freicoin will use floating fees. Based on past transaction data, floating fees approximate the fees required to get into the `m`th block from now. This is configurable with `-txconfirmtarget=<m>` (default: `2`). Sometimes, it is not possible to give good estimates, or an estimate at all. Therefore, a fallback value can be set with `-fallbackfee=<f>` (default: `0.0002` FRC/kB). At all times, Freicoin will cap fees at `-maxtxfee=<x>` (default: 0.10) FRC. Furthermore, Freicoin will never create transactions paying less than the current minimum relay fee. Finally, a user can set the minimum fee rate for all transactions with `-mintxfee=<i>`, which defaults to 1000 kria per kB. Wallet: Negative confirmations and conflict detection The wallet will now report a negative number for confirmations that indicates how deep in the block chain the conflict is found. For example, if a transaction A has 5 confirmations and spends the same input as a wallet transaction B, B will be reported as having -5 confirmations. If another wallet transaction C spends an output from B, it will also be reported as having -5 confirmations. To detect conflicts with historical transactions in the chain a one-time `-rescan` may be needed. Unlike earlier versions, unconfirmed but non-conflicting transactions will never get a negative confirmation count. They are not treated as spendable unless they're coming from ourself (change) and accepted into our local mempool, however. The new "trusted" field in the `listtransactions` RPC output indicates whether outputs of an unconfirmed transaction are considered spendable. Wallet: Merkle branches removed Previously, every wallet transaction stored a Merkle branch to prove its presence in blocks. This wasn't being used for more than an expensive sanity check. Since v12, these are no longer stored. When loading a v12 wallet into an older version, it will automatically rescan to avoid failed checks. Wallet: Pruning With v12 it is possible to use wallet functionality in pruned mode. This currently does not affect disk usage, but does limit future disk usage to around 1 GB as extrapolated from current numbers. However, rescans as well as the RPCs `importwallet`, `importaddress`, `importprivkey` are disabled. To enable block pruning set `prune=<N>` on the command line or in `freicoin.conf`, where `N` is the number of MiB to allot for raw block & undo data. A value of 0 disables pruning. The minimal value above 0 is 550. Your wallet is as secure with high values as it is with low ones. Higher values merely ensure that your node will not shut down upon blockchain reorganizations of more than 2 days - which are unlikely to happen in practice. In future releases, a higher value may also help the network as a whole: stored blocks could be served to other nodes. For further information about pruning, you may also consult the release notes of v11.3. `NODE_BLOOM` service bit Support for the `NODE_BLOOM` service bit, as described in BIP111, has been added to the P2P protocol code. BIP 111 defines a service bit to allow peers to advertise that they support bloom filters (such as used by SPV clients) explicitly. It also bumps the protocol version to allow peers to identify old nodes which allow bloom filtering of the connection despite lacking the new service bit. In this version, it is only enforced for peers that send protocol versions `>=70011`. For the next major version it is planned that this restriction will be removed. It is recommended to update SPV clients to check for the `NODE_BLOOM` service bit for nodes that report versions newer than 70011. Option parsing behavior Command line options are now parsed strictly in the order in which they are specified. It used to be the case that `-X -noX` ends up, unintuitively, with X set, as `-X` had precedence over `-noX`. This is no longer the case. Like for other software, the last specified value for an option will hold. RPC: Low-level API changes Monetary amounts can be provided as strings. This means that for example the argument to sendtoaddress can be "0.0001" instead of 0.0001. This can be an advantage if a JSON library insists on using a lossy floating point type for numbers, which would be dangerous for monetary amounts. The `asm` property of each scriptSig now contains the decoded signature hash type for each signature that provides a valid defined hash type. NOP2 has been renamed to CHECKLOCKTIMEVERIFY by BIP65 NOP3 has been renamed to CHECKSEQUENCEVERIFY by BIP112 The following items contain assembly representations of scriptSig signatures and are affected by this change: RPC `getrawtransaction` RPC `decoderawtransaction` RPC `decodescript` REST `/rest/tx/` (JSON format) REST `/rest/block/` (JSON format when including extended tx details) `freicoin-tx -json` For example, the `scriptSig.asm` property of a transaction input that previously showed an assembly representation of: 304502207fa7a6d1e0ee81132a269ad84e68d695483745cde8b541e3bf630749894e342a022100c1f7ab20e13e22fb95281a870f3dcf38d782e53023ee313d741ad0cfbc0c509001 400000 NOP2 now shows as: 304502207fa7a6d1e0ee81132a269ad84e68d695483745cde8b541e3bf630749894e342a022100c1f7ab20e13e22fb95281a870f3dcf38d782e53023ee313d741ad0cfbc0c5090[ALL] 400000 CHECKLOCKTIMEVERIFY Note that the output of the RPC `decodescript` did not change because it is configured specifically to process scriptPubKey and not scriptSig scripts. RPC: SSL support dropped SSL support for RPC, previously enabled by the option `rpcssl` has been dropped from both the client and the server. This was done in preparation for removing the dependency on OpenSSL for the daemon completely. Trying to use `rpcssl` will result in an error: Error: SSL mode for RPC (-rpcssl) is no longer supported. If you are one of the few people that relies on this feature, a flexible migration path is to use `stunnel`. This is an utility that can tunnel arbitrary TCP connections inside SSL. On e.g. Ubuntu it can be installed with: sudo apt-get install stunnel4 Then, to tunnel a SSL connection on 28638 to a RPC server bound on localhost on port 18638 do: stunnel -d 28638 -r -p stunnel.pem -P '' It can also be set up system-wide in inetd style. Another way to re-attain SSL would be to setup a httpd reverse proxy. This solution would allow the use of different authentication, load-balancing, on-the-fly compression and caching. A sample config for apache2 could look like: Listen 443 NameVirtualHost *:443 <VirtualHost *:443> SSLEngine On SSLCertificateFile /etc/apache2/ssl/server.crt SSLCertificateKeyFile /etc/apache2/ssl/server.key <Location /freicoinrpc> ProxyPass ProxyPassReverse # optional enable digest auth # AuthType Digest # ... # optional bypass freicoind rpc basic auth # RequestHeader set Authorization "Basic <hash>" # get the <hash> from the shell with: base64 <<< freicoinrpc:<password> </Location> # Or, balance the load: # ProxyPass / balancer://balancer_cluster_name </VirtualHost> Mining Code Changes The mining code in v12 has been optimized to be significantly faster and use less memory. As part of these changes, consensus critical calculations are cached on a transaction's acceptance into the mempool and the mining code now relies on the consistency of the mempool to assemble blocks. However all blocks are still tested for validity after assembly. Other P2P Changes The list of banned peers is now stored on disk rather than in memory. Restarting freicoind will no longer clear out the list of banned peers; instead a new RPC call (`clearbanned`) can be used to manually clear the list. The new `setban` RPC call can also be used to manually ban or unban a peer. 12.1-10123 Change Log Detailed release notes follow. This overview includes changes that affect behavior, not code moves, refactors and string updates. For convenience in locating the code changes and accompanying discussion, both the pull request and git merge commit are mentioned. RPC and REST #6121 `466f0ea` Convert entire source tree from json_spirit to UniValue (Jonas Schnelli) #6234 `d38cd47` fix rpcmining/getblocktemplate univalue transition logic error (Jonas Schnelli) #6239 `643114f` Don't go through double in AmountFromValue and ValueFromAmount (Wladimir J. van der Laan) #6266 `ebab5d3` Fix univalue handling of \u0000 characters. (Daniel Kraft) #6276 `f3d4dbb` Fix getbalance * 0 (Tom Harding) #6257 `5ebe7db` Add `paytxfee` and `errors` JSON fields where appropriate (Stephen) #6271 `754aae5` New RPC command disconnectnode (Alex van der Peet) #6158 `0abfa8a` Add setban/listbanned RPC commands (Jonas Schnelli) #6307 `7ecdcd9` rpcban fixes (Jonas Schnelli) #6290 `5753988` rpc: make `gettxoutsettinfo` run lock-free (Wladimir J. van der Laan) #6262 `247b914` Return all available information via RPC call "validateaddress" (dexX7) #6339 `c3f0490` UniValue: don't escape solidus, keep espacing of reverse solidus (Jonas Schnelli) #6353 `6bcb0a2` Show softfork status in getblockchaininfo (Wladimir J. van der Laan) #6247 `726e286` Add getblockheader RPC call (Peter Todd) #6362 `d6db115` Fix null id in RPC response during startup (Forrest Voight) #5486 `943b322` [REST] JSON support for /rest/headers (Jonas Schnelli) #6379 `c52e8b3` rpc: Accept scientific notation for monetary amounts in JSON (Wladimir J. van der Laan) #6388 `fd5dfda` rpc: Implement random-cookie based authentication (Wladimir J. van der Laan) #6457 `3c923e8` Include pruned state in chaininfo.json (Simon Males) #6456 `bfd807f` rpc: Avoid unnecessary parsing roundtrip in number formatting, fix locale issue (Wladimir J. van der Laan) #6380 `240b30e` rpc: Accept strings in AmountFromValue (Wladimir J. van der Laan) #6346 `6bb2805` Add OP_RETURN support in createrawtransaction RPC call, add tests. (paveljanik) #6013 `6feeec1` [REST] Add memory pool API (paveljanik) #6576 `da9beb2` Stop parsing JSON after first finished construct. (Daniel Kraft) #5677 `9aa9099` libevent-based http server (Wladimir J. van der Laan) #6633 `bbc2b39` Report minimum ping time in getpeerinfo (Matt Corallo) #6648 `cd381d7` Simplify logic of REST request suffix parsing. (Daniel Kraft) #6695 `5e21388` libevent http fixes (Wladimir J. van der Laan) #5264 `48efbdb` show scriptSig signature hash types in transaction decodes. fixes #3166 (mruddy) #6719 `1a9f19a` Make HTTP server shutdown more graceful (Wladimir J. van der Laan) #6859 `0fbfc51` http: Restrict maximum size of http + headers (Wladimir J. van der Laan) #5936 `bf7c195` [RPC] Add optional locktime to createrawtransaction (Tom Harding) #6877 `26f5b34` rpc: Add maxmempool and effective min fee to getmempoolinfo (Wladimir J. van der Laan) #6970 `92701b3` Fix crash in validateaddress with -disablewallet (Wladimir J. van der Laan) #5574 `755b4ba` Expose GUI labels in RPC as comments (Luke-Jr) #6990 `dbd2c13` http: speed up shutdown (Wladimir J. van der Laan) #7013 `36baa9f` Remove LOCK(cs_main) from decodescript (Peter Todd) #6999 `972bf9c` add (max)uploadtarget infos to getnettotals RPC help (Jonas Schnelli) #7011 `31de241` Add mediantime to getblockchaininfo (Peter Todd) #7065 `f91e29f` http: add Boost 1.49 compatibility (Wladimir J. van der Laan) #7087 `be281d8` [Net]Add -enforcenodebloom option (Patrick Strateman) #7044 `438ee59` RPC: Added additional config option for multiple RPC users. (Gregory Sanders) #7072 `c143c49` [RPC] Add transaction size to JSON output (Nikita Zhavoronkov) #7022 `9afbd96` Change default block priority size to 0 (Alex Morcos) #7141 `c0c08c7` rpc: Don't translate warning messages (Wladimir J. van der Laan) #7312 `fd4bd50` Add RPC call abandontransaction (Alex Morcos) #7222 `e25b158` RPC: indicate which transactions are replaceable (Suhas Daftuar) #7472 `b2f2b85` rpc: Add WWW-Authenticate header to 401 response (Wladimir J. van der Laan) #7469 `9cb31e6` net.h fix spelling: misbeha{b,v}ing (Matt) #7739 `7ffc2bd` Add abandoned status to listtransactions (jonasschnelli) Configuration and command-line options #6164 `8d05ec7` Allow user to use -debug=1 to enable all debugging (lpescher) #5288 `4452205` Added `-whiteconnections=<n>` option (Josh Lehan) #6284 `10ac38e` Fix argument parsing oddity with -noX (Wladimir J. van der Laan) #6489 `c9c017a` Give a better error message if system clock is bad (Casey Rodarmor) #6462 `c384800` implement uacomment config parameter which can add comments to user agent as per BIP-0014 (Pavol Rusnak) #6647 `a3babc8` Sanitize uacomment (MarcoFalke) #6742 `3b2d37c` Changed logging to make -logtimestamps to work also for -printtoconsole (arnuschky) #6846 `2cd020d` alias -h for -help (Daniel Cousens) #6622 `7939164` Introduce -maxuploadtarget (Jonas Schnelli) #6881 `2b62551` Debug: Add option for microsecond precision in debug.log (Suhas Daftuar) #6776 `e06c14f` Support -checkmempool=N, which runs checks once every N transactions (Pieter Wuille) #6896 `d482c0a` Make -checkmempool=1 not fail through int32 overflow (Pieter Wuille) #6993 `b632145` Add -blocksonly option (Patrick Strateman) #7323 `a344880` 0.12: Backport -bytespersigop option (Luke-Jr) #7386 `da83ecd` Add option `-permitrbf` to set transaction replacement policy (Wladimir J. van der Laan) #7290 `b16b5bc` Add missing options help (MarcoFalke) #7440 `c76bfff` Rename permitrbf to mempoolreplacement and provide minimal string-list forward compatibility (Luke-Jr) Block and transaction handling #6203 `f00b623` Remove P2SH coinbase flag, no longer interesting (Luke-Jr) #6222 `9c93ee5` Explicitly set tx.nVersion for the genesis block and mining tests (Mark Friedenbach) #5985 `3a1d3e8` Fix removing of orphan transactions (Alex Morcos) #6221 `dd8fe82` Prune: Support noncontiguous block files (Adam Weiss) #6124 `41076aa` Mempool only CHECKLOCKTIMEVERIFY (BIP65) verification, unparameterized version (Peter Todd) #6329 `d0a10c1` acceptnonstdtxn option to skip (most) "non-standard transaction" checks, for testnet/regtest only (Luke-Jr) #6410 `7cdefb9` Implement accurate memory accounting for mempool (Pieter Wuille) #6444 `24ce77d` Exempt unspendable transaction outputs from dust checks (dexX7) #5913 `a0625b8` Add absurdly high fee message to validation state (Shaul Kfir) #6177 `2f746c6` Prevent block.nTime from decreasing (Mark Friedenbach) #6377 `e545371` Handle no chain tip available in InvalidChainFound() (Ross Nicoll) #6551 `39ddaeb` Handle leveldb::DestroyDB() errors on wipe failure (Adam Weiss) #6654 `b0ce450` Mempool package tracking (Suhas Daftuar) #6715 `82d2aef` Fix mempool packages (Suhas Daftuar) #6680 `4f44530` use CBlockIndex instead of uint256 for UpdatedBlockTip signal (Jonas Schnelli) #6650 `4fac576` Obfuscate chainstate (James O'Beirne) #6777 `9caaf6e` Unobfuscate chainstate data in CCoinsViewDB::GetStats (James O'Beirne) #6722 `3b20e23` Limit mempool by throwing away the cheapest txn and setting min relay fee to it (Matt Corallo) #6889 `38369dd` fix locking issue with new mempool limiting (Jonas Schnelli) #6464 `8f3b3cd` Always clean up manual transaction prioritization (Casey Rodarmor) #6865 `d0badb9` Fix chainstate serialized_size computation (Pieter Wuille) #6566 `ff057f4` BIP-113: Mempool-only median time-past as endpoint for lock-time calculations (Mark Friedenbach) #6934 `3038eb6` Restores mempool only BIP113 enforcement (Gregory Maxwell) #6965 `de7d459` Benchmark sanity checks and fork checks in ConnectBlock (Matt Corallo) #6918 `eb6172a` Make sigcache faster, more efficient, larger (Pieter Wuille) #6771 `38ed190` Policy: Lower default limits for tx chains (Alex Morcos) #6932 `73fa5e6` ModifyNewCoins saves database lookups (Alex Morcos) #5967 `05d5918` Alter assumptions in CCoinsViewCache::BatchWrite (Alex Morcos) #6871 `0e93586` nSequence-based Full-RBF opt-in (Peter Todd) #7008 `eb77416` Lower bound priority (Alex Morcos) #6915 `2ef5ffa` [Mempool] Improve removal of invalid transactions after reorgs (Suhas Daftuar) #6898 `4077ad2` Rewrite CreateNewBlock (Alex Morcos) #6872 `bdda4d5` Remove UTXO cache entries when the tx they were added for is removed/does not enter mempool (Matt Corallo) #7062 `12c469b` [Mempool] Fix mempool limiting and replace-by-fee for PrioritiseTransaction (Suhas Daftuar) #7276 `76de36f` Report non-mandatory script failures correctly (Pieter Wuille) #7217 `e08b7cb` Mark blocks with too many sigops as failed (Suhas Daftuar) #7387 `f4b2ce8` Get rid of inaccurate ScriptSigArgsExpected (Pieter Wuille) #7543 `834aaef` Backport BIP9, BIP68 and BIP112 with softfork (btcdrak) P2P protocol and network code #6172 `88a7ead` Ignore getheaders requests when not synced (Suhas Daftuar) #5875 `9d60602` Be stricter in processing unrequested blocks (Suhas Daftuar) #6256 `8ccc07c` Use best header chain timestamps to detect partitioning (Gavin Andresen) #6283 `a903ad7` make CAddrMan::size() return the correct type of size_t (Diapolo) #6272 `40400d5` Improve proxy initialization (continues #4871) (Wladimir J. van der Laan, Diapolo) #6310 `66e5465` banlist.dat: store banlist on disk (Jonas Schnelli) #6412 `1a2de32` Test whether created sockets are select()able (Pieter Wuille) #6498 `219b916` Keep track of recently rejected transactions with a rolling bloom filter (cont'd) (Peter Todd) #6556 `70ec975` Fix masking of irrelevant bits in address groups. (Alex Morcos) #6530 `ea19c2b` Improve addrman Select() performance when buckets are nearly empty (Pieter Wuille) #6583 `af9305a` add support for miniupnpc api version 14 (Pavel Vasin) #6374 `69dc5b5` Connection slot exhaustion DoS mitigation (Patrick Strateman) #6636 `536207f` net: correctly initialize nMinPingUsecTime (Wladimir J. van der Laan) #6579 `0c27795` Add NODE_BLOOM service bit and bump protocol version (Matt Corallo) #6148 `999c8be` Relay blocks when pruning (Suhas Daftuar) #6588 `cf9bb11` In (strCommand == "tx"), return if AlreadyHave() (Tom Harding) #6974 `2f71b07` Always allow getheaders from whitelisted peers (Wladimir J. van der Laan) #6639 `bd629d7` net: Automatically create hidden service, listen on Tor (Wladimir J. van der Laan) #6984 `9ffc687` don't enforce maxuploadtarget's disconnect for whitelisted peers (Jonas Schnelli) #7046 `c322652` Net: Improve blocks only mode. (Patrick Strateman) #7090 `d6454f6` Connect to Tor hidden services by default (when listening on Tor) (Peter Todd) #7106 `c894fbb` Fix and improve relay from whitelisted peers (Pieter Wuille) #7129 `5d5ef3a` Direct headers announcement (rebase of #6494) (Pieter Wuille) #7079 `1b5118b` Prevent peer flooding inv request queue (redux) (redux) (Gregory Maxwell) #7166 `6ba25d2` Disconnect on mempool requests from peers when over the upload limit. (Gregory Maxwell) #7133 `f31955d` Replace setInventoryKnown with a rolling bloom filter (rebase of #7100) (Pieter Wuille) #7174 `82aff88` Don't do mempool lookups for "mempool" command without a filter (Matt Corallo) #7179 `44fef99` net: Fix sent reject messages for blocks and transactions (Wladimir J. van der Laan) #7181 `8fc174a` net: Add and document network messages in protocol.h (Wladimir J. van der Laan) #7125 `10b88be` Replace global trickle node with random delays (Pieter Wuille) #7415 `cb83beb` net: Hardcoded seeds update January 2016 (Wladimir J. van der Laan) #7438 `e2d9a58` Do not absolutely protect local peers; decide group ties based on time (Gregory Maxwell) #7439 `86755bc` Add whitelistforcerelay to control forced relaying. [#7099 redux] (Gregory Maxwell) #7482 `e16f5b4` Ensure headers count is correct (Suhas Daftuar) #7804 `90f1d24` Track block download times per individual block (sipa) #7832 `4c3a00d` Reduce block timeout to 10 minutes (laanwj) Validation #5927 `8d9f0a6` Reduce checkpoints' effect on consensus. (Pieter Wuille) #6299 `24f2489` Bugfix: Don't check the genesis block header before accepting it (Jorge Timón) #6361 `d7ada03` Use real number of cores for default -par, ignore virtual cores (Wladimir J. van der Laan) #6519 `87f37e2` Make logging for validation optional (Wladimir J. van der Laan) #6351 `2a1090d` CHECKLOCKTIMEVERIFY (BIP65) IsSuperMajority() soft-fork (Peter Todd) #6931 `54e8bfe` Skip BIP 30 verification where not necessary (Alex Morcos) #6954 `e54ebbf` Switch to libsecp256k1-based ECDSA validation (Pieter Wuille) #6508 `61457c2` Switch to a constant-space Merkle root/branch algorithm. (Pieter Wuille) #6914 `327291a` Add pre-allocated vector type and use it for CScript (Pieter Wuille) #7500 `889e5b3` Correctly report high-S violations (Pieter Wuille) #7821 `4226aac` init: allow shutdown during 'Activating best chain...' (laanwj) #7835 `46898e7` Version 2 transactions remain non-standard until CSV activates (sdaftuar) Build system #6210 `0e4f2a0` build: disable optional use of gmp in internal secp256k1 build (Wladimir J. van der Laan) #6214 `87406aa` [OSX] revert renaming of Bitcoin-Qt.app and use CFBundleDisplayName (partial revert of #6116) (Jonas Schnelli) #6218 `9d67b10` build/gitian misc updates (Cory Fields) #6269 `d4565b6` gitian: Use the new bitcoin-detached-sigs git repo for OSX signatures (Cory Fields) #6418 `d4a910c` Add autogen.sh to source tarball. (randy-waterhouse) #6373 `1ae3196` depends: non-qt bumps for 0.12 (Cory Fields) #6434 `059b352` Preserve user-passed CXXFLAGS with --enable-debug (Gavin Andresen) #6501 `fee6554` Misc build fixes (Cory Fields) #6600 `ef4945f` Include bitcoin-tx binary on Debian/Ubuntu (Zak Wilcox) #6619 `4862708` depends: bump miniupnpc and ccache (Michael Ford) #6801 `ae69a75` [depends] Latest config.guess and config.sub (Michael Ford) #6938 `193f7b5` build: If both Qt4 and Qt5 are installed, use Qt5 (Wladimir J. van der Laan) #7092 `348b281` build: Set osx permissions in the dmg to make Gatekeeper happy (Cory Fields) #6980 `eccd671` [Depends] Bump Boost, miniupnpc, ccache & zeromq (Michael Ford) #7424 `aa26ee0` Add security/export checks to gitian and fix current failures (Cory Fields) #7487 `00d57b4` Workaround Travis-side CI issues (luke-jr) #7606 `a10da9a` No need to set -L and --location for curl (MarcoFalke) #7614 `ca8f160` Add curl to packages (now needed for depends) (luke-jr) #7776 `a784675` Remove unnecessary executables from gitian release (laanwj) Wallet #6183 `87550ee` Fix off-by-one error w/ nLockTime in the wallet (Peter Todd) #6057 `ac5476e` re-enable wallet in autoprune (Jonas Schnelli) #6356 `9e6c33b` Delay initial pruning until after wallet init (Adam Weiss) #6088 `91389e5` fundrawtransaction (Matt Corallo) #6415 `ddd8d80` Implement watchonly support in fundrawtransaction (Matt Corallo) #6567 `0f0f323` Fix crash when mining with empty keypool. (Daniel Kraft) #6688 `4939eab` Fix locking in GetTransaction. (Alex Morcos) #6645 `4dbd43e` Enable wallet key imports without rescan in pruned mode. (Gregory Maxwell) #6550 `5b77244` Do not store Merkle branches in the wallet. (Pieter Wuille) #5924 `12a7712` Clean up change computation in CreateTransaction. (Daniel Kraft) #6906 `48b5b84` Reject invalid pubkeys when reading ckey items from the wallet. (Gregory Maxwell) #7010 `e0a5ef8` Fix fundrawtransaction handling of includeWatching (Peter Todd) #6851 `616d61b` Optimisation: Store transaction list order in memory rather than compute it every need (Luke-Jr) #6134 `e92377f` Improve usage of fee estimation code (Alex Morcos) #7103 `a775182` [wallet, rpc tests] Fix settxfee, paytxfee (MarcoFalke) #7105 `30c2d8c` Keep track of explicit wallet conflicts instead of using mempool (Pieter Wuille) #7096 `9490bd7` [Wallet] Improve minimum absolute fee GUI options (Jonas Schnelli) #6216 `83f06ca` Take the training wheels off anti-fee-sniping (Peter Todd) #4906 `96e8d12` Issue#1643: Coinselection prunes extraneous inputs from ApproximateBestSubset (Murch) #7200 `06c6a58` Checks for null data transaction before issuing error to debug.log (Andy Craze) #7296 `a36d79b` Add sane fallback for fee estimation (Alex Morcos) #7293 `ff9b610` Add regression test for vValue sort order (MarcoFalke) #7306 `4707797` Make sure conflicted wallet tx's update balances (Alex Morcos) #7381 `621bbd8` [walletdb] Fix syntax error in key parser (MarcoFalke) #7491 `00ec73e` wallet: Ignore MarkConflict if block hash is not known (Wladimir J. van der Laan) #7502 `1329963` Update the wallet best block marker before pruning (Pieter Wuille) #7715 `19866c1` Fix calculation of balances and available coins. (morcos) GUI #6217 `c57e12a` disconnect peers from peers tab via context menu (Diapolo) #6209 `ab0ec67` extend rpc console peers tab (Diapolo) #6484 `1369d69` use CHashWriter also in SignVerifyMessageDialog (Pavel Vasin) #6487 `9848d42` Introduce PlatformStyle (Wladimir J. van der Laan) #6505 `100c9d3` cleanup icons (MarcoFalke) #4587 `0c465f5` allow users to set -onion via GUI (Diapolo) #6529 `c0f66ce` show client user agent in debug window (Diapolo) #6594 `878ea69` Disallow duplicate windows. (Casey Rodarmor) #5665 `6f55cdd` add verifySize() function to PaymentServer (Diapolo) #6317 `ca5e2a1` minor optimisations in peertablemodel (Diapolo) #6315 `e59d2a8` allow banning and unbanning over UI->peers table (Jonas Schnelli) #6653 `e04b2fa` Pop debug window in foreground when opened twice (MarcoFalke) #6864 `c702521` Use monospace font (MarcoFalke) #6887 `3694b74` Update coin control and smartfee labels (MarcoFalke) #7000 `814697c` add shortcurts for debug-/console-window (Jonas Schnelli) #6951 `03403d8` Use maxTxFee instead of 10000000 (MarcoFalke) #7051 `a190777` ui: Add "Copy raw transaction data" to transaction list context menu (Wladimir J. van der Laan) #6979 `776848a` simple mempool info in debug window (Jonas Schnelli) #7006 `26af1ac` add startup option to reset Qt settings (Jonas Schnelli) #6780 `2a94cd6` Call init's parameter interaction before we create the UI options model (Jonas Schnelli) #7112 `96b8025` reduce cs_main locks during tip update, more fluently update UI (Jonas Schnelli) #7206 `f43c2f9` Add "NODE_BLOOM" to guiutil so that peers don't get UNKNOWN[4] (Matt Corallo) #7282 `5cadf3e` fix coincontrol update issue when deleting a send coins entry (Jonas Schnelli) #7319 `1320300` Intro: Display required space (MarcoFalke) #7318 `9265e89` quickfix for RPC timer interface problem (Jonas Schnelli) #7327 `b16b5bc` [Wallet] Transaction View: LastMonth calculation fixed (crowning-) #7364 `7726c48` [qt] Windows: Make rpcconsole monospace font larger (MarcoFalke) #7384 `294f432` [qt] Peertable: Increase SUBVERSION_COLUMN_WIDTH (MarcoFalke) Tests and QA #6305 `9005c91` build: comparison tool swap (Cory Fields) #6318 `e307e13` build: comparison tool NPE fix (Cory Fields) #6337 `0564c5b` Testing infrastructure: mocktime fixes (Gavin Andresen) #6350 `60abba1` add unit tests for the decodescript rpc (mruddy) #5881 `3203a08` Fix and improve txn_doublespend.py test (Tom Harding) #6390 `6a73d66` tests: Fix bitcoin-tx signing test case (Wladimir J. van der Laan) #6368 `7fc25c2` CLTV: Add more tests to improve coverage (Esteban Ordano) #6414 `5121c68` Fix intermittent test failure, reduce test time (Tom Harding) #6417 `44fa82d` [QA] fix possible reorg issue in (fund)rawtransaction(s).py RPC test (Jonas Schnelli) #6398 `3d9362d` rpc: Remove chain-specific RequireRPCPassword (Wladimir J. van der Laan) #6428 `bb59e78` tests: Remove old sh-based test framework (Wladimir J. van der Laan) #5515 `d946e9a` RFC: Assert on probable deadlocks if the second lock isnt try_lock (Matt Corallo) #6287 `d2464df` Clang lock debug (Cory Fields) #6465 `410fd74` Don't share objects between TestInstances (Casey Rodarmor) #6534 `6c1c7fd` Fix test locking issues and un-revert the probable-deadlines assertions commit (Cory Fields) #6509 `bb4faee` Fix race condition on test node shutdown (Casey Rodarmor) #6523 `561f8af` Add p2p-fullblocktest.py (Casey Rodarmor) #6590 `981fd92` Fix stale socket rebinding and re-enable python tests for Windows (Cory Fields) #6730 `cb4d6d0` build: Remove dependency of bitcoin-cli on secp256k1 (Wladimir J. van der Laan) #6616 `5ab5dca` Regression Tests: Migrated rpc-tests.sh to all Python rpc-tests.py (Peter Tschipper) #6720 `d479311` Creates unittests for addrman, makes addrman more testable. (Ethan Heilman) #6853 `c834f56` Added fPowNoRetargeting field to Consensus::Params (Eric Lombrozo) #6827 `87e5539` [rpc-tests] Check return code (MarcoFalke) #6848 `f2c869a` Add DERSIG transaction test cases (Ross Nicoll) #6813 `5242bb3` Support gathering code coverage data for RPC tests with lcov (dexX7) #6888 `c8322ff` Clear strMiscWarning before running PartitionAlert (Eric Lombrozo) #6894 `2675276` [Tests] Fix BIP65 p2p test (Suhas Daftuar) #6863 `725539e` [Test Suite] Fix test for null tx input (Daniel Kraft) #6926 `a6d0d62` tests: Initialize networking on windows (Wladimir J. van der Laan) #6822 `9fa54a1` [tests] Be more strict checking dust (MarcoFalke) #6804 `5fcc14e` [tests] Add basic coverage reporting for RPC tests (James O'Beirne) #7045 `72dccfc` Bugfix: Use unique autostart filenames on Linux for testnet/regtest (Luke-Jr) #7095 `d8368a0` Replace scriptnum_test's normative ScriptNum implementation (Wladimir J. van der Laan) #7063 `6abf6eb` [Tests] Add prioritisetransaction RPC test (Suhas Daftuar) #7137 `16f4a6e` Tests: Explicitly set chain limits in replace-by-fee test (Suhas Daftuar) #7216 `9572e49` Removed offline testnet DNSSeed 'alexykot.me'. (tnull) #7209 `f3ad812` test: don't override BITCOIND and BITCOINCLI if they're set (Wladimir J. van der Laan) #7226 `301f16a` Tests: Add more tests to p2p-fullblocktest (Suhas Daftuar) #7153 `9ef7c54` [Tests] Add mempool_limit.py test (Jonas Schnelli) #7170 `453c567` tests: Disable Tor interaction (Wladimir J. van der Laan) #7229 `1ed938b` [qa] wallet: Check if maintenance changes the balance (MarcoFalke) #7308 `d513405` [Tests] Eliminate intermittent failures in sendheaders.py (Suhas Daftuar) #7468 `947c4ff` [rpc-tests] Change solve() to use rehash (Brad Andrews) Miscellaneous #6213 `e54ff2f` [init] add -blockversion help and extend -upnp help (Diapolo) #5975 `1fea667` Consensus: Decouple ContextualCheckBlockHeader from checkpoints (Jorge Timón) #6061 `eba2f06` Separate Consensus::CheckTxInputs and GetSpendHeight in CheckInputs (Jorge Timón) #5994 `786ed11` detach wallet from miner (Jonas Schnelli) #6387 `11576a5` [bitcoin-cli] improve error output (Jonas Schnelli) #6401 `6db53b4` Add BITCOIND_SIGTERM_TIMEOUT to OpenRC init scripts (Florian Schmaus) #6430 `b01981e` doc: add documentation for shared library libbitcoinconsensus (Braydon Fuller) #6372 `dcc495e` Update Linearize tool to support Windows paths; fix variable scope; update README and example configuration (Paul Georgiou) #6453 `8fe5cce` Separate core memory usage computation in core_memusage.h (Pieter Wuille) #6149 `633fe10` Buffer log messages and explicitly open logs (Adam Weiss) #6488 `7cbed7f` Avoid leaking file descriptors in RegisterLoad (Casey Rodarmor) #6497 `a2bf40d` Make sure LogPrintf strings are line-terminated (Wladimir J. van der Laan) #6504 `b6fee6b` Rationalize currency unit to "BTC" (Ross Nicoll) #6507 `9bb4dd8` Removed contrib/bitrpc (Casey Rodarmor) #6527 `41d650f` Use unique name for AlertNotify tempfile (Casey Rodarmor) #6561 `e08a7d9` limitedmap fixes and tests (Casey Rodarmor) #6565 `a6f2aff` Make sure we re-acquire lock if a task throws (Casey Rodarmor) #6599 `f4d88c4` Make sure LogPrint strings are line-terminated (Ross Nicoll) #6630 `195942d` Replace boost::reverse_lock with our own (Casey Rodarmor) #6103 `13b8282` Add ZeroMQ notifications (João Barbosa) #6692 `d5d1d2e` devtools: don't push if signing fails in github-merge (Wladimir J. van der Laan) #6728 `2b0567b` timedata: Prevent warning overkill (Wladimir J. van der Laan) #6713 `f6ce59c` SanitizeString: Allow hypen char (MarcoFalke) #5987 `4899a04` Bugfix: Fix testnet-in-a-box use case (Luke-Jr) #6733 `b7d78fd` Simple benchmarking framework (Gavin Andresen) #6854 `a092970` devtools: Add security-check.py (Wladimir J. van der Laan) #6790 `fa1d252` devtools: add clang-format.py (MarcoFalke) #7114 `f3d0fdd` util: Don't set strMiscWarning on every exception (Wladimir J. van der Laan) #7078 `93e0514` uint256::GetCheapHash bigendian compatibility (arowser) #7094 `34e02e0` Assert now > 0 in GetTime GetTimeMillis GetTimeMicros (Patrick Strateman) #7617 `f04f4fd` Fix markdown syntax and line terminate LogPrint (MarcoFalke) #7747 `4d035bc` added depends cross compile info (accraze) #7741 `a0cea89` Mark p2p alert system as deprecated (btcdrak) #7780 `c5f94f6` Disable bad-chain alert (btcdrak) Tradecraft pull requests #25 Add SCRIPT_VERIFY_REQUIRE_VALID_SIGS flag and make standard The SCRIPT_VERIFY_REQUIRE_VALID_SIGS enforces that every signature check passes when the signature field is non-empty (softfork safe, replaces BIP62 rule 7). It is still possible for the non-VERIFY forms of CHECKSIG or CHECKMULTISIG to be executed and return false, but you MUST do so by passing in an empty (OP_0) signature. The way this is implemented is different for the two opcodes: CHECKSIG and CHECKSIGVERIFY will abort script validation with error code SCRIPT_ERR_FAILED_SIGNATURE_CHECK if the signature validation code returns false for any reason other than the passed-in signature being the empty. CHECKMULTISIG and CHECKMULTISIGVERIFY present a significant challenge to enforcing this requirement in that the original data format did not indicate which public keys were matched with which signatures, other than the ordering. For a k-of-n multisig, there are n-choose-(n-k) possibilities. For example, a 2-of-3 multisig would have three public keys matched with two signatures, resulting in three possible assignments of pubkeys to signatures. In the original implementation this is done by attempting to validate a signature, starting with the first public key and the first signature, and then moving to the next pubkey if validation fails. It is not known in advance to the validator which attempts will fail. Thankfully, however, a bug in the original implementation causes an extra, unused item to be removed from stack after validation. Since this value is given no previous consensus meaning, we use it as a bitfield to indicate which pubkeys to skip. Enforcing this requirement is a necessary precursor step to performing batch validation, since in a batch validation regime individual pubkey-signature combinations would not be checked for validity. Like bitcoin's SCRIPT_VERIFY_NULLDUMMY, this also serves as a malleability fix since the bitmask value is provided by the witness. #36 Delay block file size increase until after the protocol cleanup rules activate This is a follow-up to #26 included in Freicoin v10.4. By comparing against `GetAdjustedTime` we can check if we are running in the protocol cleanup regime, and only then use the higher limits for block file size. In the mean time we'll still use smaller block files which is beneficial for pruning. It's slightly layer violating to access the chain consensus parameters in some cases, e.g. from the network and protocol message handling code. But it doesn't break the build and is better than the alternative. #37 Remove ability to "opt-out" from replace-by-fee semantics. Bitcoin v0.12 introduces "opt-in" replace-by-fee semantics. This was an unfortunate political compromise as a result of situational context we are fortunate not to have to deal with. There is no such thing as optionality to RBF because there is no way to prevent transaction replacement in miner mempools. It is trivial to execute a double-spend even when the transaction being replaces is not BIP125 compatible, and there are tools available to do this. Supporting this feature and advertising it is confusing and a potential source of security failures. #40 Re-enable RPC regression tests from bitcoin with "bitcoin mode" (no demurrage) regtest chain For the past couple of releases the majority of RPC regression tests have bee disabled due to their implementation making certain assumptions about the behavior of the chain, such as blocks having 50 BTC subsidy, and not taking into account value decay due to demurrage. For example: A test that mines 25 blocks, then 100 blocks for maturity, and checks that the available balance is 1250 coins is intending to test the wallet coinbase maturity code, not the block reward schedule. (These tests needed updating because the freicoin subsidy schedule is different from bitcoin's.) A test that records the wallets balance, sends all available coins to a external address, checks the new balance is zero, then reorgs to a longer chain containing a double-spends back to itself and checks the wallet balance has returned to its original value is not supposed to be testing for demurrage. (These tests needed updating because wallet balances decay with each mined block.) Previously we updated these tests individually, but this proved difficult to maintain. In recent rebasing efforts we delayed introduction of demurrage and changing subsidy until the end so the tests could at least be run against earlier patches. This PR introduces a more long-term solution. This PR changes the subsidy on regtest to resemble bitcoin's (50 coins per block), and introduces a new consensus-impacting option `-notimeadjust` (only available with `-regtest`) which disables demurrage / time-value adjustment. Running the JSON-RPC python test framework with the `--bitcoin-mode` command line option turns on this no-demurrage mode. #41 Fix final jsonrpc tests Re-enables the final set of tests disabled by the demurrage patch set. The problem here was not just demurrage but also the fact that the input truncation and ALU demurrage soft-forks hadn't activated on the regtest chain. Credits Thanks to everyone who directly contributed to this release: accraze Adam Weiss Alex Morcos Alex van der Peet AlSzacrel Altoidnerd Andriy Voskoboinyk antonio-fr Arne Brutschy Ashley Holman Bob McElrath Braydon Fuller BtcDrak Casey Rodarmor centaur1 Chris Kleeschulte Christian Decker Cory Fields crowning- daniel Daniel Cousens Daniel Kraft David Hill dexX7 Diego Viola Elias Rohrer Eric Lombrozo Erik Mossberg Esteban Ordano EthanHeilman Florian Schmaus Forrest Voight Gavin Andresen Gregory Maxwell Gregory Sanders / instagibbs Ian T Irving Ruan Jacob Welsh James O'Beirne Jeff Garzik Johnathan Corgan Jonas Schnelli Jonathan Cross João Barbosa Jorge Timón Josh Lehan J Ross Nicoll Karl-Johan Alm kazcw Kevin Cooper lpescher Luke Dashjr MarcoFalke Mark Friedenbach Matt Matt Bogosian Matt Corallo Matt Quinn Micha Michael Michael Ford / fanquake Midnight Magic Mitchell Cash mrbandrews mruddy Nick NicolasDorier Patrick Strateman Paul Georgiou Paul Rabahy Pavel Janík / paveljanik Pavel Vasin Pavol Rusnak Peter Josling Peter Todd Philip Kaufmann Pieter Wuille ptschip randy-waterhouse rion Ross Nicoll Ryan Havar Shaul Kfir Simon Males Stephen Suhas Daftuar tailsjoin Thomas Kerin Tom Harding tulip unsystemizer Veres Lajos Wladimir J. van der Laan xor-freenet Zak Wilcox zathras-crypto As well as everyone that helped translating on Transifex.
  7. 1 point
    Freicoin version 10.4 is now available from: Linux 32-bit Linux 64-bit macOS (app) macOS (server) Windows 32-bit (installer) Windows 32-bit (zip) Windows 64-bit (installer) Windows 64-bit (zip) Source This is a new major version release, bringing both new features and bug fixes. Please report bugs using the issue tracker at github: https://github.com/tradecraftio/tradecraft/issues Upgrading and downgrading How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the installer (on Windows) or just copy over /Applications/Freicoin-Qt (on Mac) or freicoind/freicoin-qt (on Linux). Downgrading warning Because release 10.4 makes use of headers-first synchronization and parallel block download (see further), the block files and databases are not backwards-compatible with older versions of Freicoin or other software: Blocks will be stored on disk out of order (in the order they are received, really), which makes it incompatible with some tools or other programs. Reindexing using earlier versions will also not work anymore as a result of this. The block index database will now hold headers for which no block is stored on disk, which earlier versions won't support. If you want to be able to downgrade smoothly, make a backup of your entire data directory. Without this your node will need start syncing (or importing from bootstrap.dat) anew afterwards. It is possible that the data from a completely synchronized 0.10 node may be usable in older versions as-is, but this is not supported and may break as soon as the older version attempts to reindex. This does not affect wallet forward or backward compatibility. Notable changes This fixes a serious problem on Windows with data directories that have non-ASCII characters (https://github.com/bitcoin/bitcoin/issues/6078). Protocol-cleannup flag day fork To achieve desired scaling limits, the forward blocks protocol upgrade will eventually trigger a hard-fork modification of the consensus rules, for the primary purposes of dropping enforcement of many aggregate block limits and altering the difficulty adjustment algorithm. This hard-fork will not activate until it is absolutely necessary for it to do so, at the point when measurements of real demand for additional shard space in aggregate across all forward block shard-chains exceeds the available space in the compatibility chain. It is anticipated that this will not occur until many, many years into the future, when Freicoin/Tradecraft's usage exceeds even the levels of bitcoin usage ca. 2018. However when it does eventually trigger, any node enforcing the old rules will be left behind. Beginning in 10.4, we introduce a flag-day relaxation of the consensus rules in preparation for this eventual fork. Since the rule changes for forward blocks have not been written yet, any code written now wouldn't be able to detect actual activation or enforce the new aggregate limits. Instead we schedule a relaxation of the consensus rules at the EOL support date for the current release, after which rules which we anticipate being changed are simply unenforced, and aggregate limits are set to the maximum values the software is able to support. After the flag-day, older clients of at least version 10.4 will continue to receive blocks, but with only SPV security ("trust the most work") for the new protocol rules. So activation of forward blocks' new scaling limits becomes a soft-fork starting with the release of 10.4, with the only concern being the forking off of pre-10.4 nodes upon activation. The protocol cleanup rule change is scheduled for activation on 2 April 2021 at midnight UTC. This is 4PM PDT, 7PM EDT, and 9AM JST. Since the activation time is median-time-past, it'll actually trigger about an hour after this wall-clock time. This date is chosen to be roughly 2 years after the expected release date of official binaries for 10.4. While the Freicoin developer team doesn't have the resources to provide strong ongoing support beyond emergency fixes, we nevertheless have an ideal goal of supporting release binaries for up to 2 years following the first release from that series. Any release of a new series prior to the deployment of forward blocks will reset this to be at least two years from the time of release. When forward blocks is deployed, this parameter will be set to the highest value used in any prior release, and becomes the earliest time at which the hard-fork rules can activate. All users should be aware that timely updates or modification of their own nodes are required within this time window in order to maintain full-node security, until such time as a version supporting forward blocks is released and adopted. Miners especially *must* upgrade or modify their block-generating nodes before this date, or else they place the consensus of the network at risk. Depreciation of 32-bit clients The lifting of aggregate limits in preparation of the new scaling limits enabled by forward blocks unfortunately opens a memory exhaustion denial of service attack vector after the above-mentioned flag-day activation of new rules, even if the actual activation date has been pushed back in later releases. To protect against this, 32-bit clients have smaller network buffers (about 16 MiB under default settings), too small to contain the largest block-relay message allowed under the new rules (2 GiB). This unfortunately means that if/when forward blocks is deployed and the flexible cap used to grow aggregate block size limits, then 32-bit nodes will no longer be able to perform network synchronization once a block larger than 17,179,845 bytes is included into the main chain. For this reason, support for 32-bit clients is officially depreciated as of the 10.4 release. Starting with 10.4, 32-bit clients will at some point in the future be unable to sync the main chain. Users on 32-bit hosts should strongly consider upgrading before activation of the new rules. However should you need to continue running 32-bit nodes, be advised that the network message limits are informed by the -maxconnections option. Specifically the maximum network packet size allowed is 2^32 / max(125, -maxconnections) / 2, which for the default of 125 connection slots is 17,179,869 bytes (not including the 24-byte header). By providing a lower value for -maxconnections this value is increased. With -maxconnections=1, the calculated value is clamped to MAX_BLOCKFILE_SIZE. So a 32-bit node with -maxconnections=1 will be able to network synchronize even the largest blocks from its (only) peer. Although depreciated, 32-bit official binaries will continue to be provided for releases so long as it remains a reasonable amount of work to do so. Faster synchronization Freicoin now uses 'headers-first synchronization'. This means that we first ask peers for block headers (a total of 19 megabytes, as of February 2019) and validate those. In a second stage, when the headers have been discovered, we download the blocks. However, as we already know about the whole chain in advance, the blocks can be downloaded in parallel from all available peers. In practice, this means a much faster and more robust synchronization. You may notice a slower progress in the very first few minutes, when headers are still being fetched and verified, but it should gain speed afterwards. A few RPCs were added/updated as a result of this: `getblockchaininfo` now returns the number of validated headers in addition to the number of validated blocks. `getpeerinfo` lists both the number of blocks and headers we know we have in common with each peer. While synchronizing, the heights of the blocks that we have requested from peers (but haven't received yet) are also listed as 'inflight'. A new RPC `getchaintips` lists all known branches of the block chain, including those we only have headers for. Transaction fee changes This release automatically estimates how high a transaction fee (or how high a priority) transactions require to be confirmed quickly. The default settings will create transactions that confirm quickly; see the new 'txconfirmtarget' setting to control the tradeoff between fees and confirmation times. Fees are added by default unless the 'sendfreetransactions' setting is enabled. Prior releases used hard-coded fees (and priorities), and would sometimes create transactions that took a very long time to confirm. Statistics used to estimate fees and priorities are saved in the data directory in the `fee_estimates.dat` file just before program shutdown, and are read in at startup. New command line options for transaction fee changes: `-txconfirmtarget=n` : create transactions that have enough fees (or priority) so they are likely to begin confirmation within n blocks (default: 1). This setting is over-ridden by the -paytxfee option. `-sendfreetransactions` : Send transactions as zero-fee transactions if possible (default: 0) New RPC commands for fee estimation: `estimatefee nblocks` : Returns approximate fee-per-1,000-bytes needed for a transaction to begin confirmation within nblocks. Returns -1 if not enough transactions have been observed to compute a good estimate. `estimatepriority nblocks` : Returns approximate priority needed for a zero-fee transaction to begin confirmation within nblocks. Returns -1 if not enough free transactions have been observed to compute a good estimate. RPC access control changes Subnet matching for the purpose of access control is now done by matching the binary network address, instead of with string wildcard matching. For the user this means that `-rpcallowip` takes a subnet specification, which can be a single IP address (e.g. `` or `fe80::0012:3456:789a:bcde`) a network/CIDR (e.g. `` or `fe80::0000/64`) a network/netmask (e.g. `` or `fe80::0012:3456:789a:bcde/ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff`) An arbitrary number of `-rpcallow` arguments can be given. An incoming connection will be accepted if its origin address matches one of them. For example: | 0.9.x and before | 10.x | |--------------------------------------------|---------------------------------------| | `-rpcallowip=` | `-rpcallowip=` (unchanged) | | `-rpcallowip=192.168.1.*` | `-rpcallowip=` | | `-rpcallowip=192.168.*` | `-rpcallowip=` | | `-rpcallowip=*` (dangerous!) | `-rpcallowip=::/0` (still dangerous!) | Using wildcards will result in the rule being rejected with the following error in debug.log: Error: Invalid -rpcallowip subnet specification: *. Valid are a single IP (e.g., a network/netmask (e.g. or a network/CIDR (e.g. REST interface A new HTTP API is exposed when running with the `-rest` flag, which allows unauthenticated access to public node data. It is served on the same port as RPC, but does not need a password, and uses plain HTTP instead of JSON-RPC. Assuming a local RPC server running on port 8638, it is possible to request: Blocks: http://localhost:8638/rest/block/*HASH*.*EXT* Blocks without transactions: http://localhost:8638/rest/block/notxdetails/*HASH*.*EXT* Transactions (requires `-txindex`): http://localhost:8638/rest/tx/*HASH*.*EXT* In every case, *EXT* can be `bin` (for raw binary data), `hex` (for hex-encoded binary) or `json`. For more details, see the `doc/REST-interface.md` document in the repository. RPC Server "Warm-Up" Mode The RPC server is started earlier now, before most of the expensive initializations like loading the block index. It is available now almost immediately after starting the process. However, until all initializations are done, it always returns an immediate error with code -28 to all calls. This new behavior can be useful for clients to know that a server is already started and will be available soon (for instance, so that they do not have to start it themselves). Improved signing security For 0.10 the security of signing against unusual attacks has been improved by making the signatures constant time and deterministic. This change is a result of switching signing to use libsecp256k1 instead of OpenSSL. Libsecp256k1 is a cryptographic library optimized for the curve Freicoin uses which was created by Bitcoin Core developer Pieter Wuille. There exist attacks[1] against most ECC implementations where an attacker on shared virtual machine hardware could extract a private key if they could cause a target to sign using the same key hundreds of times. While using shared hosts and reusing keys are inadvisable for other reasons, it's a better practice to avoid the exposure. OpenSSL has code in their source repository for derandomization and reduction in timing leaks that we've eagerly wanted to use for a long time, but this functionality has still not made its way into a released version of OpenSSL. Libsecp256k1 achieves significantly stronger protection: As far as we're aware this is the only deployed implementation of constant time signing for the curve Freicoin uses and we have reason to believe that libsecp256k1 is better tested and more thoroughly reviewed than the implementation in OpenSSL. [1] https://eprint.iacr.org/2014/161.pdf Watch-only wallet support The wallet can now track transactions to and from wallets for which you know all addresses (or scripts), even without the private keys. This can be used to track payments without needing the private keys online on a possibly vulnerable system. In addition, it can help for (manual) construction of multisig transactions where you are only one of the signers. One new RPC, `importaddress`, is added which functions similarly to `importprivkey`, but instead takes an address or script (in hexadecimal) as argument. After using it, outputs credited to this address or script are considered to be received, and transactions consuming these outputs will be considered to be sent. The following RPCs have optional support for watch-only: `getbalance`, `listreceivedbyaddress`, `listreceivedbyaccount`, `listtransactions`, `listaccounts`, `listsinceblock`, `gettransaction`. See the RPC documentation for those methods for more information. Compared to using `getrawtransaction`, this mechanism does not require `-txindex`, scales better, integrates better with the wallet, and is compatible with future block chain pruning functionality. It does mean that all relevant addresses need to added to the wallet before the payment, though. Consensus library Starting from 10.4, the Freicoin distribution includes a consensus library. The purpose of this library is to make the verification functionality that is critical to Freicoin's consensus available to other applications, e.g. to language bindings such as [python-bitcoinlib](https://pypi.python.org/pypi/python-bitcoinlib) or alternative node implementations. This library is called `libfreicoinconsensus.so` (or, `.dll` for Windows). Its interface is defined in the C header [freicoinconsensus.h](https://github.com/tradecraftio/tradecraft/blob/v10.4/src/script/freicoinconsensus.h). In its initial version the API includes two functions: - `freicoinconsensus_verify_script` verifies a script. It returns whether the indicated input of the provided serialized transaction correctly spends the passed scriptPubKey under additional constraints indicated by flags - `freicoinconsensus_version` returns the API version, currently at an experimental `0` The functionality is planned to be extended to e.g. UTXO management in upcoming releases, but the interface for existing methods should remain stable. Standard script rules relaxed for P2SH addresses The IsStandard() rules have been almost completely removed for P2SH redemption scripts, allowing applications to make use of any valid script type, such as "n-of-m OR y", hash-locked oracle addresses, etc. While the Freicoin protocol has always supported these types of script, actually using them on mainnet has been previously inconvenient as standard Freicoin nodes wouldn't relay them to miners, nor would most miners include them in blocks they mined. freicoin-tx It has been observed that many of the RPC functions offered by freicoind are "pure functions", and operate independently of the freicoind wallet. This included many of the RPC "raw transaction" API functions, such as createrawtransaction. freicoin-tx is a newly introduced command line utility designed to enable easy manipulation of freicoin transactions. A summary of its operation may be obtained via "freicoin-tx --help" Transactions may be created or signed in a manner similar to the RPC raw tx API. Transactions may be updated, deleting inputs or outputs, or appending new inputs and outputs. Custom scripts may be easily composed using a simple text notation, borrowed from the freicoin test suite. This tool may be used for experimenting with new transaction types, signing multi-party transactions, and many other uses. Long term, the goal is to deprecate and remove "pure function" RPC API calls, as those do not require a server round-trip to execute. Other utilities "freicoin-key" and "freicoin-script" have been proposed, making key and script operations easily accessible via command line. Mining and relay policy enhancements Freicoin's block templates are now for version 3 blocks only, and any mining software relying on its `getblocktemplate` must be updated in parallel to use libblkmaker either version 0.4.2 or any version from 0.5.1 onward. If you are solo mining, this will affect you the moment you upgrade Freicoin. If you are mining with the stratum mining protocol: this does not affect you. If you are mining with the getblocktemplate protocol to a pool: this will affect you at the pool operator's discretion. The `prioritisetransaction` RPC method has been added to enable miners to manipulate the priority of transactions on an individual basis. Freicoin now supports BIP 22 long polling, so mining software can be notified immediately of new templates rather than having to poll periodically. Support for BIP 23 block proposals is now available in Freicoin's `getblocktemplate` method. This enables miners to check the basic validity of their next block before expending work on it, reducing risks of accidental hardforks or mining invalid blocks. The relay policy has changed to more properly implement the desired behavior of not relaying free (or very low fee) transactions unless they have a priority above the AllowFreeThreshold(), in which case they are relayed subject to the rate limiter. Fix buffer overflow in bundled upnp Bundled miniupnpc was updated to 1.9.20151008. This fixes a buffer overflow in the XML parser during initial network discovery. Details can be found here: http://talosintel.com/reports/TALOS-2015-0035/ This applies to the distributed executables only, not when building from source or using distribution provided packages. Additionally, upnp has been disabled by default. This may result in a lower number of reachable nodes on IPv4, however this prevents future libupnpc vulnerabilities from being a structural risk to the network (see https://github.com/bitcoin/bitcoin/pull/6795). Minimum relay fee default increase The default for the `-minrelaytxfee` setting has been increased from `0.00001` to `0.00005`. This is antemporary measure, bridging the time until a dynamic method for determining this fee is merged (which will be in 0.12). (see https://github.com/bitcoin/bitcoin/pull/6793, as well as the 11.3 release notes, in which this value was suggested) Windows bug fix for corrupted UTXO database on unclean shutdowns Several Windows users of the upstream Bitcoin Core software reported that they often need to reindex the entire blockchain after an unclean shutdown of Bitcoin on Windows (or an unclean shutdown of Windows itself). Although unclean shutdowns remain unsafe, this release no longer relies on memory-mapped files for the UTXO database, which significantly reduced the frequency of unclean shutdowns leading to required reindexes during testing. For more information, see: <https://github.com/bitcoin/bitcoin/pull/6917> Other fixes for database corruption on Windows are expected in the next major release. 10.4 Change log Detailed release notes follow. This overview includes changes that affect external behavior, not code moves, refactors or string updates. RPC: `f923c07` Support IPv6 lookup in bitcoin-cli even when IPv6 only bound on localhost `b641c9c` Fix addnode "onetry": Connect with OpenNetworkConnection `171ca77` estimatefee / estimatepriority RPC methods `b750cf1` Remove cli functionality from bitcoind `f6984e8` Add "chain" to getmininginfo, improve help in getblockchaininfo `99ddc6c` Add nLocalServices info to RPC getinfo `cf0c47b` Remove getwork() RPC call `2a72d45` prioritisetransaction <txid> <priority delta> <priority tx fee> `2ec5a3d` Prevent easy RPC memory exhaustion attack `d4640d7` Added argument to getbalance to include watchonly addresses and fixed errors in balance calculation `83f3543` Added argument to listaccounts to include watchonly addresses `952877e` Showing 'involvesWatchonly' property for transactions returned by 'listtransactions' and 'listsinceblock'. It is only appended when the transaction involves a watchonly address `d7d5d23` Added argument to listtransactions and listsinceblock to include watchonly addresses `f87ba3d` added includeWatchonly argument to 'gettransaction' because it affects balance calculation `0fa2f88` added includedWatchonly argument to listreceivedbyaddress/...account `6c37f7f` `getrawchangeaddress`: fail when keypool exhausted and wallet locked `ff6a7af` getblocktemplate: longpolling support `c4a321f` Add peerid to getpeerinfo to allow correlation with the logs `1b4568c` Add vout to ListTransactions output `b33bd7a` Implement "getchaintips" RPC command to monitor blockchain forks `733177e` Remove size limit in RPC client, keep it in server `6b5b7cb` Categorize rpc help overview `6f2c26a` Closely track mempool byte total. Add "getmempoolinfo" RPC `aa82795` Add detailed network info to getnetworkinfo RPC `01094bd` Don't reveal whether password is <20 or >20 characters in RPC `57153d4` rpc: Compute number of confirmations of a block from block height `ff36cbe` getnetworkinfo: export local node's client sub-version string `d14d7de` SanitizeString: allow '(' and ')' `31d6390` Fixed setaccount accepting foreign address `b5ec5fe` update getnetworkinfo help with subversion `ad6e601` RPC additions after headers-first `33dfbf5` rpc: Fix leveldb iterator leak, and flush before `gettxoutsetinfo` `f877aaa` submitblock: Use a temporary CValidationState to determine accurately the outcome of ProcessBlock `e69a587` submitblock: Support for returning specific rejection reasons `af82884` Add "warmup mode" for RPC server `e2655e0` Add unauthenticated HTTP REST interface to public blockchain data `683dc40` Disable SSLv3 (in favor of TLS) for the RPC client and server `44b4c0d` signrawtransaction: validate private key `9765a50` Implement BIP 23 Block Proposal `f9de17e` Add warning comment to getinfo `7f502be` fix crash: createmultisig and addmultisigaddress `eae305f` Fix missing lock in submitblock Command-line options: `ee21912` Use netmasks instead of wildcards for IP address matching `deb3572` Add `-rpcbind` option to allow binding RPC port on a specific interface `96b733e` Add `-version` option to get just the version `1569353` Add `-stopafterblockimport` option `77cbd46` Let -zapwallettxes recover transaction meta data `1c750db` remove -tor compatibility code (only allow -onion) `4aaa017` rework help messages for fee-related options `4278b1d` Clarify error message when invalid -rpcallowip `6b407e4` -datadir is now allowed in config files `bdd5b58` Add option `-sysperms` to disable 077 umask (create new files with system default umask) `cbe39a3` Add "bitcoin-tx" command line utility and supporting modules `dbca89b` Trigger -alertnotify if network is upgrading without you `ad96e7c` Make -reindex cope with out-of-order blocks `16d5194` Skip reindexed blocks individually `ec01243` --tracerpc option for regression tests `f654f00` Change -genproclimit default to 1 `3c77714` Make -proxy set all network types, avoiding a connect leak `57be955` Remove -printblock, -printblocktree, and -printblockindex `ad3d208` remove -maxorphanblocks config parameter since it is no longer functional Block and transaction handling: `7a0e84d` ProcessGetData(): abort if a block file is missing from disk `8c93bf4` LoadBlockIndexDB(): Require block db reindex if any `blk*.dat` files are missing `77339e5` Get rid of the static chainMostWork (optimization) `4e0eed8` Allow ActivateBestChain to release its lock on cs_main `18e7216` Push cs_mains down in ProcessBlock `fa126ef` Avoid undefined behavior using CFlatData in CScript serialization `7f3b4e9` Relax IsStandard rules for pay-to-script-hash transactions `c9a0918` Add a skiplist to the CBlockIndex structure `bc42503` Use unordered_map for CCoinsViewCache with salted hash (optimization) `d4d3fbd` Do not flush the cache after every block outside of IBD (optimization) `ad08d0b` Bugfix: make CCoinsViewMemPool support pruned entries in underlying cache `5734d4d` Only remove actually failed blocks from setBlockIndexValid `d70bc52` Rework block processing benchmark code `714a3e6` Only keep setBlockIndexValid entries that are possible improvements `ea100c7` Reduce maximum coinscache size during verification (reduce memory usage) `4fad8e6` Reject transactions with excessive numbers of sigops `b0875eb` Allow BatchWrite to destroy its input, reducing copying (optimization) `92bb6f2` Bypass reloading blocks from disk (optimization) `2e28031` Perform CVerifyDB on pcoinsdbview instead of pcoinsTip (reduce memory usage) `ab15b2e` Avoid copying undo data (optimization) `341735e` Headers-first synchronization `afc32c5` Fix rebuild-chainstate feature and improve its performance `e11b2ce` Fix large reorgs `ed6d1a2` Keep information about all block files in memory `a48f2d6` Abstract context-dependent block checking from acceptance `7e615f5` Fixed mempool sync after sending a transaction `51ce901` Improve chainstate/blockindex disk writing policy `a206950` Introduce separate flushing modes `9ec75c5` Add a locking mechanism to IsInitialBlockDownload to ensure it never goes from false to true `868d041` Remove coinbase-dependant transactions during reorg `723d12c` Remove txn which are invalidated by coinbase maturity during reorg `0cb8763` Check against MANDATORY flags prior to accepting to mempool `8446262` Reject headers that build on an invalid parent `008138c` Bugfix: only track UTXO modification after lookup `1d2cdd2` Fix InvalidateBlock to add chainActive.Tip to setBlockIndexCandidates `c91c660` fix InvalidateBlock to repopulate setBlockIndexCandidates `002c8a2` fix possible block db breakage during re-index `a1f425b` Add (optional) consistency check for the block chain data structures `1c62e84` Keep mempool consistent during block-reorgs `57d1f46` Fix CheckBlockIndex for reindex `bac6fca` Set nSequenceId when a block is fully linked P2P protocol and network code: `f80cffa` Do not trigger a DoS ban if SCRIPT_VERIFY_NULLDUMMY fails `c30329a` Add testnet DNS seed of Alex Kotenko `45a4baf` Add testnet DNS seed of Andreas Schildbach `f1920e8` Ping automatically every 2 minutes (unconditionally) `806fd19` Allocate receive buffers in on the fly `6ecf3ed` Display unknown commands received `aa81564` Track peers' available blocks `caf6150` Use async name resolving to improve net thread responsiveness `9f4da19` Use pong receive time rather than processing time `0127a9b` remove SOCKS4 support from core and GUI, use SOCKS5 `40f5cb8` Send rejects and apply DoS scoring for errors in direct block validation `dc942e6` Introduce whitelisted peers `c994d2e` prevent SOCKET leak in BindListenPort() `a60120e` Add built-in seeds for .onion `60dc8e4` Allow -onlynet=onion to be used `3a56de7` addrman: Do not propagate obviously poor addresses onto the network `6050ab6` netbase: Make SOCKS5 negotiation interruptible `604ee2a` Remove tx from AlreadyAskedFor list once we receive it, not when we process it `efad808` Avoid reject message feedback loops `71697f9` Separate protocol versioning from clientversion `20a5f61` Don't relay alerts to peers before version negotiation `b4ee0bd` Introduce preferred download peers `845c86d` Do not use third party services for IP detection `12a49ca` Limit the number of new addresses to accumulate `35e408f` Regard connection failures as attempt for addrman `a3a7317` Introduce 10 minute block download timeout `3022e7d` Require sufficent priority for relay of free transactions `58fda4d` Update seed IPs, based on bitcoin.sipa.be crawler data `18021d0` Remove bitnodes.io from dnsseeds. `78f64ef` don't trickle for whitelisted nodes `ca301bf` Reduce fingerprinting through timestamps in 'addr' messages. `200f293` Ignore getaddr messages on Outbound connections. `d5d8998` Limit message sizes before transfer `aeb9279` Better fingerprinting protection for non-main-chain getdatas. `cf0218f` Make addrman's bucket placement deterministic (countermeasure 1 against eclipse attacks, see http://cs-people.bu.edu/heilman/eclipse/) `0c6f334` Always use a 50% chance to choose between tried and new entries (countermeasure 2 against eclipse attacks) `214154e` Do not bias outgoing connections towards fresh addresses (countermeasure 2 against eclipse attacks) `aa587d4` Scale up addrman (countermeasure 6 against eclipse attacks) `139cd81` Cap nAttempts penalty at 8 and switch to pow instead of a division loop Validation: `6fd7ef2` Also switch the (unused) verification code to low-s instead of even-s `584a358` Do merkle root and txid duplicates check simultaneously `217a5c9` When transaction outputs exceed inputs, show the offending amounts so as to aid debugging `f74fc9b` Print input index when signature validation fails, to aid debugging `6fd59ee` script.h: set_vch() should shift a >32 bit value `d752ba8` Add SCRIPT_VERIFY_SIGPUSHONLY (BIP62 rule 2) (test only) `698c6ab` Add SCRIPT_VERIFY_MINIMALDATA (BIP62 rules 3 and 4) (test only) `ab9edbd` script: create sane error return codes for script validation and remove logging `219a147` script: check ScriptError values in script tests `0391423` Discourage NOPs reserved for soft-fork upgrades `98b135f` Make STRICTENC invalid pubkeys fail the script rather than the opcode `307f7d4` Report script evaluation failures in log and reject messages `ace39db` consensus: guard against openssl's new strict DER checks `12b7c44` Improve robustness of DER recoding code `76ce5c8` fail immediately on an empty signature `d148f62` Acquire CCheckQueue's lock to avoid race condition Build system: `f25e3ad` Fix build in OS X 10.9 `65e8ba4` build: Switch to non-recursive make `460b32d` build: fix broken boost chrono check on some platforms `9ce0774` build: Fix windows configure when using --with-qt-libdir `ea96475` build: Add mention of --disable-wallet to bdb48 error messages `1dec09b` depends: add shared dependency builder `c101c76` build: Add --with-utils (bitcoin-cli and bitcoin-tx, default=yes). Help string consistency tweaks. Target sanity check fix `e432a5f` build: add option for reducing exports (v2) `6134b43` Fixing condition 'sabotaging' MSVC build `af0bd5e` osx: fix signing to make Gatekeeper happy (again) `a7d1f03` build: fix dynamic boost check when --with-boost= is used `d5fd094` build: fix qt test build when libprotobuf is in a non-standard path `2cf5f16` Add libbitcoinconsensus library `914868a` build: add a deterministic dmg signer `2d375fe` depends: bump openssl to 1.0.1k `b7a4ecc` Build: Only check for boost when building code that requires it `8752b5c` 0.10 fix for crashes on OSX 10.6 Wallet: `b33d1f5` Use fee/priority estimates in wallet CreateTransaction `4b7b1bb` Sanity checks for estimates `c898846` Add support for watch-only addresses `d5087d1` Use script matching rather than destination matching for watch-only `d88af56` Fee fixes `a35b55b` Don't run full check every time we decrypt wallet `3a7c348` Fix make_change to not create half-satoshis `f606bb9` fix a possible memory leak in CWalletDB::Recover `870da77` fix possible memory leaks in CWallet::EncryptWallet `ccca27a` Watch-only fixes `9b1627d` [Wallet] Reduce minTxFee for transaction creation to 1000 satoshis `a53fd41` Deterministic signing `15ad0b5` Apply AreSane() checks to the fees from the network `11855c1` Enforce minRelayTxFee on wallet created tx and add a maxtxfee option `824c011` fix boost::get usage with boost 1.58 GUI: `c21c74b` osx: Fix missing dock menu with qt5 `b90711c` Fix Transaction details shows wrong To: `516053c` Make links in 'About Bitcoin Core' clickable `bdc83e8` Ensure payment request network matches client network `65f78a1` Add GUI view of peer information `06a91d9` VerifyDB progress reporting `fe6bff2` Add BerkeleyDB version info to RPCConsole `b917555` PeerTableModel: Fix potential deadlock. #4296 `dff0e3b` Improve rpc console history behavior `95a9383` Remove CENT-fee-rule from coin control completely `56b07d2` Allow setting listen via GUI `d95ba75` Log messages with type>QtDebugMsg as non-debug `8969828` New status bar Unit Display Control and related changes `674c070` seed OpenSSL PNRG with Windows event data `509f926` Payment request parsing on startup now only changes network if a valid network name is specified `acd432b` Prevent balloon-spam after rescan `7007402` Implement SI-style (thin space) thoudands separator `91cce17` Use fixed-point arithmetic in amount spinbox `bdba2dd` Remove an obscure option no-one cares about `bd0aa10` Replace the temporary file hack currently used to change Bitcoin-Qt's dock icon (OS X) with a buffer-based solution `94e1b9e` Re-work overviewpage UI `8bfdc9a` Better looking trayicon `b197bf3` disable tray interactions when client model set to 0 `1c5f0af` Add column Watch-only to transactions list `21f139b` Fix tablet crash. closes #4854 `e84843c` Broken addresses on command line no longer trigger testnet `a49f11d` Change splash screen to normal window `1f9be98` Disable App Nap on OSX 10.9+ `27c3e91` Add proxy to options overridden if necessary `4bd1185` Allow "emergency" shutdown during startup `d52f072` Don't show wallet options in the preferences menu when running with -disablewallet `6093aa1` Qt: QProgressBar CPU-Issue workaround `0ed9675` [Wallet] Add global boolean whether to send free transactions (default=true) `ed3e5e4` [Wallet] Add global boolean whether to pay at least the custom fee (default=true) `e7876b2` [Wallet] Prevent user from paying a non-sense fee `c1c9d5b` Add Smartfee to GUI `e0a25c5` Make askpassphrase dialog behave more sanely `94b362d` On close of splashscreen interrupt verifyDB `b790d13` English translation update `8543b0d` Correct tooltip on address book page `2c08406` some mac specifiy cleanup (memory handling, unnecessary code) `81145a6` fix OSX dock icon window reopening `786cf72` fix a issue where "command line options"-action overwrite "Preference"-action (on OSX) Tests: `b41e594` Fix script test handling of empty scripts `d3a33fc` Test CHECKMULTISIG with m == 0 and n == 0 `29c1749` Let tx (in)valid tests use any SCRIPT_VERIFY flag `6380180` Add rejection of non-null CHECKMULTISIG dummy values `21bf3d2` Add tests for BoostAsioToCNetAddr `b5ad5e7` Add Python test for -rpcbind and -rpcallowip `9ec0306` Add CODESEPARATOR/FindAndDelete() tests `75ebced` Added many rpc wallet tests `0193fb8` Allow multiple regression tests to run at once `92a6220` Hook up sanity checks `3820e01` Extend and move all crypto tests to crypto_tests.cpp `3f9a019` added list/get received by address/ account tests `a90689f` Remove timing-based signature cache unit test `236982c` Add skiplist unit tests `f4b00be` Add CChain::GetLocator() unit test `b45a6e8` Add test for getblocktemplate longpolling `cdf305e` Set -discover=0 in regtest framework `ed02282` additional test for OP_SIZE in script_valid.json `0072d98` script tests: BOOLAND, BOOLOR decode to integer `833ff16` script tests: values that overflow to 0 are true `4cac5db` script tests: value with trailing 0x00 is true `89101c6` script test: test case for 5-byte bools `d2d9dc0` script tests: add tests for CHECKMULTISIG limits `d789386` Add "it works" test for bitcoin-tx `df4d61e` Add bitcoin-tx tests `aa41ac2` Test IsPushOnly() with invalid push `6022b5d` Make `script_{valid,invalid}.json` validation flags configurable `8138cbe` Add automatic script test generation, and actual checksig tests `ed27e53` Add coins_tests with a large randomized CCoinViewCache test `9df9cf5` Make SCRIPT_VERIFY_STRICTENC compatible with BIP62 `dcb9846` Extend getchaintips RPC test `554147a` Ensure MINIMALDATA invalid tests can only fail one way `dfeec18` Test every numeric-accepting opcode for correct handling of the numeric minimal encoding rule `2b62e17` Clearly separate PUSHDATA and numeric argument MINIMALDATA tests `16d78bd` Add valid invert of invalid every numeric opcode tests `f635269` tests: enable alertnotify test for Windows `7a41614` tests: allow rpc-tests to get filenames for bitcoind and bitcoin-cli from the environment `5122ea7` tests: fix forknotify.py on windows `fa7f8cd` tests: remove old pull-tester scripts `7667850` tests: replace the old (unused since Travis) tests with new rpc test scripts `f4e0aef` Do signature-s negation inside the tests `1837987` Optimize -regtest setgenerate block generation `2db4c8a` Fix node ranges in the test framework `a8b2ce5` regression test only setmocktime RPC call `daf03e7` RPC tests: create initial chain with specific timestamps `8656dbb` Port/fix txnmall.sh regression test `ca81587` Test the exact order of CHECKMULTISIG sig/pubkey evaluation `7357893` Prioritize and display -testsafemode status in UI `f321d6b` Add key generation/verification to ECC sanity check `132ea9b` miner_tests: Disable checkpoints so they don't fail the subsidy-change test `bc6cb41` QA RPC tests: Add tests block block proposals `f67a9ce` Use deterministically generated script tests `11d7a7d` [RPC] add rpc-test for http keep-alive (persistent connections) `34318d7` RPC-test based on invalidateblock for mempool coinbase spends `76ec867` Use actually valid transactions for script tests `c8589bf` Add actual signature tests `e2677d7` Fix smartfees test for change to relay policy `263b65e` tests: run sanity checks in tests too `1117378` add RPC test for InvalidateBlock Miscellaneous: `122549f` Fix incorrect checkpoint data for testnet3 `5bd02cf` Log used config file to debug.log on startup `68ba85f` Updated Debian example bitcoin.conf with config from wiki + removed some cruft and updated comments `e5ee8f0` Remove -beta suffix `38405ac` Add comment regarding experimental-use service bits `be873f6` Issue warning if collecting RandSeed data failed `8ae973c` Allocate more space if necessary in RandSeedAddPerfMon `675bcd5` Correct comment for 15-of-15 p2sh script size `fda3fed` libsecp256k1 integration `2e36866` Show nodeid instead of addresses in log (for anonymity) unless otherwise requested `cd01a5e` Enable paranoid corruption checks in LevelDB >= 1.16 `9365937` Add comment about never updating nTimeOffset past 199 samples `403c1bf` contrib: remove getwork-based pyminer (as getwork API call has been removed) `0c3e101` contrib: Added systemd .service file in order to help distributions integrate bitcoind `0a0878d` doc: Add new DNSseed policy `2887bff` Update coding style and add .clang-format `5cbda4f` Changed LevelDB cursors to use scoped pointers to ensure destruction when going out of scope `b4a72a7` contrib/linearize: split output files based on new-timestamp-year or max-file-size `e982b57` Use explicit fflush() instead of setvbuf() `234bfbf` contrib: Add init scripts and docs for Upstart and OpenRC `01c2807` Add warning about the merkle-tree algorithm duplicate txid flaw `d6712db` Also create pid file in non-daemon mode `772ab0e` contrib: use batched JSON-RPC in linarize-hashes (optimization) `7ab4358` Update bash-completion for v0.10 `6e6a36c` contrib: show pull # in prompt for github-merge script `5b9f842` Upgrade leveldb to 1.18, make chainstate databases compatible between ARM and x86 (issue #2293) `4e7c219` Catch UTXO set read errors and shutdown `867c600` Catch LevelDB errors during flush `06ca065` Fix CScriptID(const CScript& in) in empty script case `c9e022b` Initialization: set Boost path locale in main thread `23126a0` Sanitize command strings before logging them. `323de27` Initialization: setup environment before starting Qt tests `7494e09` Initialization: setup environment before starting tests `df45564` Initialization: set fallback locale as environment variable `da65606` Avoid crash on start in TestBlockValidity with gen=1. `424ae66` don't imbue boost::filesystem::path with locale "C" on windows (fixes #6078) For convenience in locating the code changes and accompanying discussion, the following changes reference both the pull request and git merge commit. Bitcoin Core pull requests #6186 `e4a7d51` Fix two problems in CSubnet parsing #6153 `ebd7d8d` Parameter interaction: disable upnp if -proxy set #6203 `ecc96f5` Remove P2SH coinbase flag, no longer interesting #6226 `181771b` json: fail read_string if string contains trailing garbage #6244 `09334e0` configure: Detect (and reject) LibreSSL #6276 `0fd8464` Fix getbalance * 0 #6274 `be64204` Add option `-alerts` to opt out of alert system #6319 `3f55638` doc: update mailing list address #6438 `7e66e9c` openssl: avoid config file load/race #6439 `255eced` Updated URL location of netinstall for Debian #6412 `0739e6e` Test whether created sockets are select()able #6694 `f696ea1` [QT] fix thin space word wrap line brake issue #6704 `743cc9e` Backport bugfixes to 0.10 #6769 `1cea6b0` Test LowS in standardness, removes nuisance malleability vector. #6789 `093d7b5` Update miniupnpc to 1.9.20151008 #6795 `f2778e0` net: Disable upnp by default #6797 `91ef4d9` Do not store more than 200 timedata samples #6793 `842c48d` Bump minrelaytxfee default #6953 `8b3311f` alias -h for --help #6953 `97546fc` Change URLs to https in debian/control #6953 `38671bf` Update debian/changelog and slight tweak to debian/control #6953 `256321e` Correct spelling mistakes in doc folder #6953 `eae0350` Clarification of unit test build instructions #6953 `90897ab` Update bluematt-key, the old one is long-since revoked #6953 `a2f2fb6` build: disable -Wself-assign #6953 `cf67d8b` Bugfix: Allow mining on top of old tip blocks for testnet (fixes testnet-in-a-box use case) #6953 `b3964e3` Drop "with minimal dependencies" from description #6953 `43c2789` Split freicoin-tx into its own package #6953 `dfe0d4d` Include freicoin-tx binary on Debian/Ubuntu #6953 `612efe8` [Qt] Raise debug window when requested #6953 `3ad96bd` Fix locking in GetTransaction #6953 `9c81005` Fix spelling of Qt #6946 `94b67e5` Update LevelDB #6706 `5dc72f8` CLTV: Add more tests to improve coverage #6706 `6a1343b` Add RPC tests for the CHECKLOCKTIMEVERIFY (BIP65) soft-fork #6706 `4137248` Add CHECKLOCKTIMEVERIFY (BIP65) soft-fork logic #6706 `0e01d0f` Enable CHECKLOCKTIMEVERIFY as a standard script verify flag #6706 `6d01325` Replace NOP2 with CHECKLOCKTIMEVERIFY (BIP65) #6706 `750d54f` Move LOCKTIME_THRESHOLD to src/script/script.h #6706 `6897468` Make CScriptNum() take nMaxNumSize as an argument #6867 `5297194` Set TCP_NODELAY on P2P sockets #6836 `fb818b6` Bring historical release notes up to date #6852 `0b3fd07` build: make sure OpenSSL heeds noexecstack Tradecraft pull requests #23 `9f12779` [Demurrage] Add inverse-demurrage calculations, permitting GetTimeAdjustedValue to be called with negative relative_depth values and yield reasonable results. #23 `6ca19e0` [Alert] Do not warn that an upgrade is required when unrecognized block versions have been observed. #24 `2289825` [Branding] Update macOS icon file to use new Freicoin kria logo. #26 `8333769` [Hard-Fork] Implement time-activated "protocol cleanup" flag-day hard-fork, set to activate in April 2021. #28 `d9b93a4` [Standard] Remove SCRIPT_VERIFY_NULLDUMMY from the standard verification flags. #29 `62ce0e7` [Soft-fork] Require the nTimeLock value of a coinbase transaction to be equal to the median of the past 11 block times. Credits Thanks to everyone who contributed to this release: 21E14 Adam Weiss Aitor Pazos Alex Morcos Alexander Jeng Alon Muroch Andreas Schildbach Andrew Poelstra Andy Alness Ashley Holman Ben Holden-Crowther Benedict Chan Bryan Bishop BtcDrak Casey Rodarmor Christian von Roques Clinton Christian Cory Fields Cozz Lovan daniel Daniel Cousens Daniel Kraft David Hill Derek701 dexX7 Diego Viola dllud Dominyk Tiller Doug elichai elkingtowa ENikS Eric Lombrozo Eric Shaw Esteban Ordano fanquake Federico Bond Francis GASCHET Fredrik Bodin fsb4000 Gavin Andresen Giuseppe Mazzotta Glenn Willen Gregory Maxwell gubatron HarryWu himynameismartin Huang Le Ian Carroll imharrywu Ivan Pustogarov J Ross Nicoll Jameson Lopp Janusz Lenar JaSK Jeff Garzik JL2035 Johnathan Corgan Jonas Schnelli jtimon Julian Haight Kamil Domanski Karl Johan Alm kazcw kevin kiwigb Kosta Zertsekel LongShao007 Luke Dashjr MarcoFalke Mark Friedenbach Mathy Vanvoorden Matt Corallo Matthew Bogosian Micha Michael Ford Mike Hearn Mitchell Cash mrbandrews mruddy ntrgn Otto Allmendinger Pavel Vasin paveljanik Peter Todd phantomcircuit Philip Kaufmann Pieter Wuille pryds R E Broadley randy-waterhouse Rose Toomey Ross Nicoll Roy Badami Ruben Dario Ponticelli Ruben de Vries Rune K. Svendsen Ryan X. Charles Saivann sandakersmann SergioDemianLerner shshshsh sinetek Stuart Cardall Suhas Daftuar Tawanda Kembo Teran McKinney tm314159 Tom Harding Trevin Hofmann Veres Lajos Whit J Wladimir J. van der Laan Yoichi Hirai Zak Wilcox ฿tcDrak And all those who contributed additional code review and/or security research: 21E14 Alison Kendler Aviv Zohar dexX7 Ethan Heilman Evil-Knievel fanquake Fredrik Bodin Jeff Garzik Jonas Nick Luke Dashjr Patrick Strateman Philip Kaufmann Pieter Wuille Sergio Demian Lerner Sharon Goldberg timothy on IRC for reporting the issue vayvanne Vulnerability in miniupnp discovered by Aleksandar Nikolic of Cisco Talos As well as everyone that helped translating on Transifex.
  8. 1 point
    These are based off the release notes for the underlying bitcoin releases. Under "notable changes" the first two headings "Protocol-cleanup flag day fork" and "Depreciation of 32-bit clients" are new and specific to freicoin. Also note the entire notable changes section from the recently released v0.9.5.1-5869. The other stuff is shared with bitcoin. One of the big changes that came with 0.10 in bitcoin (which our v10 release is based off) was the introduction of watch-only addresses. I need this to do the final donation matching from the foundation funds.
  9. 1 point
    Freicoin version is now available from: Linux 32-bit Linux 64-bit macOS Windows 32-bit (install) Windows 32-bit (zip) Windows 64-bit (install) Windows 64-bit (zip) Source This is a new minor version release, with the goal of backporting soft-fork activation rules for verification of the coinbase transaction's nLockTime field. There is also a modification of the wallet code to produce low-S signatures, and various bug fixes. Upgrading to this release is recommended. Please report bugs using the issue tracker at github: https://github.com/tradecraftio/tradecraft/issues How to Upgrade If you are running an older version, shut it down. Wait until it has completely shut down (which might take a few minutes for older versions), then run the installer (on Windows) or just copy over /Applications/Freicoin-Qt (on Mac) or freicoind/freicoin-qt (on Linux). Notable changes Soft-fork activation rules for coinbase nLockTime This rule update requires the nTimeLock value of a coinbase transaction to be equal to the median of the past 11 block times. It uses an old-style supermajority rollout with BIP8/BIP9-like version bits and BIP8-like activation-on-timeout semantics. It's not strictly compatible with those BIPs though, as we didn't want to back port all the necessary state management code. But miners using BIP8/BIP9 compatible version bit software should work with this rollout by configuring their devices to signal bit #28 (the highest-order BIP8/BIP9 bit). Wallet generates signatures with low-S value The prior release included a modification to the wallet signing code to produce signatures with quadratic residue R values rather than low (< half the order) S values. Given the structure of the signing code, we can actually do both, and this release always generates quadratic R, low S signatures. Remove version-upgrade warnings The version upgrade warning implemented in the 0.9 series is unable to properly handle version bits signaling, and falsely identifies BIP8 / BIP9 blocks as being produced by a future version, thereby triggering upgrade warnings on up-to-date clients. This upgrade warning has been removed; future releases will include proper handling for version-bits blocks. Reverse demurrage code Example code, currently unused, is provided for doing "reverse" demurrage calculations, taking a present value amount and calculating what it would have been at an earlier epoch. This fast code uses only fixed-point integer math. Build system upgrades Due to deprecation of some build dependencies, the build system has been modified to bootstrap itself from alternative sources. changelog `59cb913b` [Soft-fork] Require the nTimeLock value of a coinbase transaction to be equal to the median of the past 11 block times. `e62b1f35` [OpenSSL] Generate signatures with low-S values. `e37ec652` [Alert] Do not warn that an upgrade is required when unrecognized block versions have been observed. `9f12779b` [Demurrage] Add inverse-demurrage calculations, permitting GetTimeAdjustedValue to be called with negative relative_depth values and yield reasonable results. `04006641` [Vagrant] Switch to our own hosted macOS 10.7 SDK dependency, required for pre-0.11 releases. `9f399309` [Vagrant] Update download URL for libpng-1.6.8.tar.gz, since the original server is no longer online. `eec192d4` [Vagrant] Update from Ubuntu 16.04.4 to 16.04.5, since the .4 images are no longer hosted by Canonical. Credits Thanks to who contributed to this release, including: Fredrik Bodin Mark Friedenbach As well as everyone that helped translating on Transifex.
  10. 1 point

    New release: Freicoin v0.9.6.1-5869

  11. 1 point

    Future of Freicoin

    Well being this is the “Future of Freicoin” thread, it seems it could use a note here. With Maaku’s announcement of ‘Forward Blocks’ and the implementation of such tech on Freicoin, a new era in Freicoin is born. The buy wall for FreiExchange has shot up by 4x, and other such financial indications. Perhaps now, with the increasing price of Freicoin, @Arcurus can get a phone number and join us on Telegram. With @Mark Friedenbach working obviously on code, perhaps the rest of us need to restart that nagging of what OTHER things are necessary AROUND Freicoin like new mining pools, web apps etc. To the Moon! Slides: http://freico.in/forward-blocks-scalingbitcoin-slides.pdf Paper: http://freico.in/forward-blocks-scalingbitcoin-paper.pdf Video: Relevant tweets:
  12. 1 point

    New release: v0.8.6.2-5

    So I fixed the transactions page on ABE this morning. It still has to be pushed though.
  13. 1 point

    New release: v0.8.6.2-5

    Okay. looks like my work just became obsolete. Mixed feelings. On the positive side, I like progress, and I got away with the bounty!
  14. 1 point

    New release: v0.8.6.2-5

    Installed it! And we no longer have the .exe 64 bit not working problems!
  15. 1 point

    New website for Solidar

    My work on Solidar website is finished. I created a new logo, I updated the graphics, I updated all the contents, adapting ones from the Freicoin site and forum. Now the website is also ready to be multilingual, but before translating it in italian, I wish to be sure that all the contents are correct. Please review them and let me know.
  • Create New...