refactor: modernize CScriptBase definition

This commit is contained in:
Lőrinc
2025-07-21 10:54:33 -07:00
parent 756da2a994
commit 65ac7f6d4d

View File

@@ -406,7 +406,7 @@ private:
* Tests in October 2015 showed use of this reduced dbcache memory usage by 23%
* and made an initial sync 13% faster.
*/
typedef prevector<28, unsigned char> CScriptBase;
using CScriptBase = prevector<28, uint8_t>;
bool GetScriptOp(CScriptBase::const_iterator& pc, CScriptBase::const_iterator end, opcodetype& opcodeRet, std::vector<unsigned char>* pvchRet);