As with btcsuite/btcd, gcash also supports walle and Lightning Network clients, and will be developed actively.
The following is the latest release:
- Adjust pow difficulty algorithm strictly following bitcoin-ABC Specific details: https://github.com/bitcoincashorg/bitcoincash.org/blob/master/spec/nov-13-hardfork-spec.md
- The new difficulty adjustment algorithm activited since Height:
504031for mainnet - Adjust the order of handing orphan block in
ProcessBlockfunction because the next block's difficulty calculation depends on the previous block after the new rules activating Detail: https://github.com/bcext/gcash/blob/master/blockchain/process.go#L196-L227
- The new difficulty adjustment algorithm activited since Height:
- Adjust signature digest algorithm via setting
SigHashForkIDDetail:https://github.com/bitcoincashorg/bitcoincash.org/blob/master/spec/replay-protected-sighash.md- At this version,
gcashsupports the new and old signature digest algorithm depending onScriptFlags - All new signature digest algorithm unit testings were checked strictly and passed
- At this version,
- Support base32 bitcoin cash address encoding same to bitcoin-ABC
Detail: [https://github.com/bitcoincashorg/bitcoincash.org/blob/master/spec/cashaddr.md(https://github.com/bitcoincashorg/bitcoincash.org/blob/master/spec/cashaddr.md)
gcashandcashwalletuse base32 address format default. But the added rpc command can convert the address format between base58 format and base32 format, seeconvcashaddrrpc command usage- Remove witness relative address encoding:
AddressWitnessPubKeyHashandAddressWitnessScriptHash
- Add the following op_code due to May 2018 hard fork:
- OP_CAT
- OP_SPLIT
- OP_AND
- OP_OR
- OP_XOR
- OP_DIV
- OP_MOD
- OP_NUM2BIN
- OP_BIN2NUM
Detail: https://github.com/bitcoincashorg/bitcoincash.org/blob/master/spec/may-2018-reenabled-opcodes.md
- Misc changes:
- Remove
Witnessitem fromTxIn - Adjust the block size limit to
32M - Remove the deprecated logic code, including:
txweigthandblockweight - Adjust the
GetSigOpCostcalculation - Adjust the
OP_RETURNbytes length to 220 - Rename the amount unit from
BTCtoBCH
- Remove