mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Add automatic script test generation, and actual checksig tests
This commit is contained in:
@@ -276,7 +276,7 @@ public:
|
||||
CPubKey GetPubKey() const;
|
||||
|
||||
// Create a DER-serialized signature.
|
||||
bool Sign(const uint256& hash, std::vector<unsigned char>& vchSig) const;
|
||||
bool Sign(const uint256& hash, std::vector<unsigned char>& vchSig, bool lowS = true) const;
|
||||
|
||||
// Create a compact signature (65 bytes), which allows reconstructing the used public key.
|
||||
// The format is one header byte, followed by two times 32 bytes for the serialized r and s values.
|
||||
|
||||
Reference in New Issue
Block a user