Files
bitcoin/src
MarcoFalke fa74f58a26 scripted-diff: Use inline const over (static) const
Both are fine and this refactor shouldn't change any behavior.

However, inline const will ensure each symbol has a single address
across all TU, making the release binary smaller.

-BEGIN VERIFY SCRIPT-

 # Replace `static const`
 sed -i "s/^static const /inline const /" $( \
   git grep -l "^static const " -- \
     '*.h' \
     ':(exclude)src/leveldb' \
     ':(exclude)src/secp256k1' \
 )

 # Replace plain `const`
 sed -i --regexp-extended 's/^const (\S+ \w+(\[\])? ?[={])/inline &/' $( \
   git grep -l '^const ' -- \
     '*.h' \
     ':(exclude)src/leveldb' \
     ':(exclude)src/secp256k1' \
   )

-END VERIFY SCRIPT-
2026-08-05 08:35:04 +02:00
..
2026-06-26 09:56:01 -07:00
2026-07-17 22:55:23 -07:00
2026-07-23 12:06:32 +02:00
2026-08-03 12:03:56 -07:00