Skip to content

Sync with the main repo #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 165 commits into from
Aug 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
5d37cc4
Generate doxygen documentation for test sources
patrickkamin May 20, 2021
8ea8c92
index: Avoid unnecessary type casts in coinstatsindex
fjahr May 23, 2021
d09d1cf
qt, test: introduce FindInConsole function
jarolrod May 17, 2021
6969b2b
qt, test: use regex search in apptests
jarolrod May 17, 2021
fb65dde
scripted-diff: Fix coinstats data member names
fjahr Jun 2, 2021
1e38423
index: Use batch writing in coinstatsindex WriteBlock
fjahr May 23, 2021
01386bf
Index: Return early from failed coinstatsindex init
fjahr May 23, 2021
2565478
wallet test refactor: add CreateSyncedWallet function
ryanofsky Jun 4, 2021
fe6dc76
wallet test: Add test for subtract fee from recipient behavior
ryanofsky Jun 4, 2021
faa670d
test: Properly set BIP34 height in CreateNewBlock_validity unit test
Jun 18, 2021
fac90c5
test: Create all blocks with version 4 or higher
Jul 3, 2019
222290f
test: Set BIP34Height = 2 for regtest
Jul 3, 2019
a084ebe
test: introduce `get_weight()` helper for CTransaction
theStack Jun 30, 2021
4af97c7
test: introduce `get_weight()` helper for CBlock
theStack Jun 30, 2021
607076d
test: remove confusing `MAX_BLOCK_BASE_SIZE`
theStack Jun 30, 2021
1ee6d0b
gui: Prompt to reset settings when settings.json cannot be read
ryanofsky Jul 8, 2021
8a2b58d
test: fix segwit terminology (s/witness_program/witness_script/)
theStack Jul 11, 2021
c020cba
Squashed 'src/secp256k1/' changes from efad3506a8..be8d9c262f
sipa Jul 14, 2021
e4ffb44
Update secp256k1 subtree to latest upstream + adapt API
sipa Jul 14, 2021
84c8747
test: remove unneeded initialization code in feature_rbf.py
theStack Jun 23, 2021
fb6c6a7
test: speedup wallet_listtransactions by whitelisting peers (immediat…
theStack Jun 18, 2021
47915b1
test: remove unneeded/redundant code in wallet_listtransactions
theStack Jun 19, 2021
a006d7d
test: add logging to wallet_listtransactions
theStack Jun 20, 2021
65332b1
[addrman] Remove RemoveInvalid()
jnewbery Jul 19, 2021
9190b01
[net processing] Add Orphanage empty consistency check
jnewbery Mar 31, 2021
a28bfd1
[net processing] Default initialize m_stale_tip_check_time
jnewbery Mar 31, 2021
cd9902a
[net processing] Default initialize recentRejects
jnewbery Mar 31, 2021
37dcd12
scripted-diff: Rename recentRejects
jnewbery Mar 31, 2021
fde1bf4
[net processing] Default initialize m_recent_confirmed_transactions
jnewbery Mar 31, 2021
fa02934
refactor: Mark CAddrMan::Select const
May 13, 2021
fae0c79
refactor: Mark CAddrMan::GetAddr const
May 13, 2021
fab755b
fuzz: Actually use const addrman
Jun 14, 2021
0a9129c
test: assert on the value of getblockchaininfo#time
jonatack Jul 21, 2021
78c3610
test: assert on mediantime in getblockheader and getblockchaininfo
jonatack Jul 21, 2021
d548dc7
test: replace magic values by constants in rpc_blockchain.py
jonatack Jul 21, 2021
ef5e930
test: update logging and docstring in rpc_blockchain.py
jonatack Jul 21, 2021
abc57e1
refactor: move `GetTransaction(...)` to node/transaction.cpp
theStack Jul 22, 2021
f720cfa
test: verify number of categories returned by logging RPC
jonatack Jul 22, 2021
f685a13
doc: GetTransaction()/getrawtransaction follow-ups to #22383
jnewbery Jul 22, 2021
7c57297
log: sort LogCategoriesList and LogCategoriesString alphabetically
jonatack Jul 22, 2021
17bbff3
log, refactor: use guard clause in LogCategoriesList()
jonatack Jul 22, 2021
33455c7
guix: Make all.SHA256SUMS rather than codesigned.SHA256SUMS
achow101 Jul 22, 2021
4a46638
guix: Allow changing the base manifest in guix-verify
achow101 Jul 22, 2021
fa32024
Add missing GUARDED_BY to CAddrMan::insecure_rand
Jul 22, 2021
fae108c
Fix incorrect whitespace in addrman
Jul 22, 2021
d7b7f61
Updated Readme, Corrected the codesign typo
hg333 Jul 23, 2021
198ceb8
script, doc: guix touchups
jonatack Jul 23, 2021
a5f6791
rpc: Add missing gettxoutsetinfo help docs
fjahr May 23, 2021
d4356d4
rpc: Block until synced if coinstatsindex is used in gettxoutsetinfo
fjahr May 24, 2021
5b3d4e7
Index: Improve logging in coinstatsindex
fjahr May 24, 2021
779e638
coinstats: Add comments for new coinstatsindex values
fjahr Jun 3, 2021
e3237b1
test: check that CSV/CLTV are active in rpc_signrawtransaction
theStack Jul 25, 2021
8858e88
p2p: refactor: tidy up `PeerManagerImpl::Misbehaving(...)`
theStack Jul 12, 2021
8ca51af
test: Disable automatic connections by default
mzumsande Jul 26, 2021
746f203
test: introduce `generate_to_height` helper, use in rpc_signrawtransa…
theStack Jul 25, 2021
12f094e
test: use constants for CSV/CLTV activation heights in rpc_signrawtra…
theStack Jul 25, 2021
fbeb8c4
test: add type annotations to util.get_rpc_proxy
fanquake May 28, 2021
4148c52
Fix typo in comment
cuongvng Jul 27, 2021
7075a52
Merge bitcoin/bitcoin#22155: wallet test: Add test for subtract fee f…
Jul 27, 2021
f372623
Merge bitcoin/bitcoin#22495: p2p: refactor: tidy up `PeerManagerImpl:…
Jul 27, 2021
979f410
Merge bitcoin/bitcoin#22561: Fix typo in comment
Jul 27, 2021
e4c8bb6
build: Fix undefined reference to __mulodi4
hebasto May 7, 2021
787296e
fuzz: silence a compiler warning about unused CBanEntry comparator
vasild Jul 26, 2021
84ace9a
doc: Add initial USDT documentation
0xB10C May 20, 2021
469b71a
doc: document systemtap dependency
0xB10C Jun 7, 2021
4224dec
tracing: Tracepoints for in- and outbound P2P msgs
0xB10C May 20, 2021
8f37f5c
tracing: Tracepoint for connected blocks
0xB10C May 20, 2021
61cefde
Merge bitcoin/bitcoin#22006: tracing: first tracepoints and documenta…
laanwj Jul 27, 2021
a3f6397
test: feature_rbf.py: make MiniWallet instance available for all sub-…
theStack Jun 23, 2021
be175ce
Merge bitcoin/bitcoin#22557: fuzz: silence a compiler warning about u…
fanquake Jul 28, 2021
d596dba
test: assert logging categories are sorted in rpc and help
jonatack Jul 22, 2021
548ca1d
Merge bitcoin/bitcoin#22550: test: improve `test_signing_with_{csv,cl…
Jul 28, 2021
93878d2
Merge bitcoin/bitcoin#22423: test: wallet_listtransactions improvemen…
Jul 28, 2021
5e21382
Merge bitcoin/bitcoin#22530: log: sort logging categories alphabetically
Jul 28, 2021
31fef69
Merge bitcoin/bitcoin#22047: index, rpc: Coinstatsindex follow-ups
laanwj Jul 28, 2021
67b9416
Merge bitcoin/bitcoin#21562: [net processing] Various tidying up of P…
Jul 28, 2021
aa02c64
test: use MiniWallet for simple doublespend test in feature_rbf.py
theStack Jun 23, 2021
4b1fb50
Merge bitcoin/bitcoin#22528: refactor: move GetTransaction to node/tr…
Jul 28, 2021
d080c27
guix, doc: Add a note that codesigners need to rebuild after tagging
achow101 Jul 22, 2021
43225f0
guix: Remove extra \r from all.SHA256SUMS line ending
achow101 Jul 22, 2021
9b313df
guix: Ensure EPOCH_SOURCE_DATE does not include GPG information
achow101 Jul 23, 2021
8a4f0fc
Document faster throughput configuration
agroce Jul 28, 2021
be92dc5
Merge bitcoin/bitcoin#22538: doc: fix command typo in guix README
fanquake Jul 29, 2021
8f76f9f
Merge bitcoin/bitcoin#22531: guix: Fixes to guix-{attest,verify}
fanquake Jul 29, 2021
24fb69d
Merge bitcoin/bitcoin#22139: test: add type annotations to util.get_r…
Jul 29, 2021
f8f772d
macdeploy: alternative info to download the macOS SDK
darosior Jul 21, 2021
19434fa
Merge bitcoin/bitcoin#22516: macdeploy: alternative info to download …
fanquake Jul 29, 2021
d235700
Merge bitcoin/bitcoin#21882: build: Fix undefined reference to __mulodi4
fanquake Jul 29, 2021
fa86528
test: Add temporary sanitizer suppression implicit-signed-integer-tru…
Jul 29, 2021
2fcaec7
[net_processing] Introduce SetupAddressRelay
amitiuttarwar Mar 22, 2021
6653fa3
[test] Update p2p_addr_relay test to prepare
amitiuttarwar Jun 22, 2021
1d1ef2d
[net_processing] Defer initializing m_addr_known
amitiuttarwar Mar 24, 2021
201e496
[net_processing] Introduce new field to indicate if addr relay is ena…
amitiuttarwar Jul 26, 2021
c061599
[net_processing] Remove RelayAddrsWithPeer function
amitiuttarwar Jul 26, 2021
0980ca7
[test] Test that we intentionally select addr relay peers.
amitiuttarwar Jun 14, 2021
3893da0
[RPC] Add field to getpeerinfo to indicate if addr relay is enabled
amitiuttarwar Jul 26, 2021
3f7250b
[test] Use the new endpoint to improve tests
amitiuttarwar Jul 24, 2021
9c9939c
Merge bitcoin/bitcoin#22584: test: Add temporary sanitizer suppressio…
Jul 30, 2021
2962640
contrib, p2p: update I2P hardcoded seeds
jonatack Jul 30, 2021
fa384fd
Ignore banlist.dat
Jul 28, 2021
d2dffd5
doc: add info to i2p.md about IBD time and multiple networks
jonatack Jul 30, 2021
fa4e6af
Remove unused CSubNet serialize code
Jul 28, 2021
fa1eddb
Fix whitespace in touched files
Jul 28, 2021
b6c3fce
Merge bitcoin/bitcoin#22520: test: improve rpc_blockchain.py tests an…
Jul 30, 2021
78f040a
Merge bitcoin/bitcoin#22490: test: Disable automatic connections per …
Jul 30, 2021
da1c0c6
Merge bitcoin/bitcoin#22330: test: use MiniWallet for simple doublesp…
Jul 30, 2021
9c08719
[test] Introduce test logic to query DNS seeds
amitiuttarwar May 28, 2021
75c05af
[test] Test logic to query DNS seeds with block-relay-only connections
amitiuttarwar May 28, 2021
3585145
[test] Test the interactions between -connect and -dnsseed
amitiuttarwar May 24, 2021
26d0ffe
[test] Test -forcednsseed causes querying DNS seeds
amitiuttarwar May 25, 2021
6f6b7df
[init] Disallow starting up with conflicting paramters for -dnsseed a…
amitiuttarwar May 28, 2021
6395c8e
[test] Test the interactions between -forcednsseed and -dnsseed
amitiuttarwar May 28, 2021
4c89e24
[test] Test the delay before querying DNS seeds
amitiuttarwar May 25, 2021
82b6f89
[style] Small style improvements to DNS parameters
amitiuttarwar May 24, 2021
703b1e6
Close minor startup race between main and scheduler threads
LarryRuane Jul 28, 2021
6499928
Merge bitcoin/bitcoin#22573: fuzz: document faster throughput configu…
Jul 31, 2021
f2e41d1
Merge bitcoin/bitcoin#22429: test: refactor: fix segwit terminology (…
Aug 1, 2021
ca6c154
test: refactor: remove `hex_str_to_bytes` helper
theStack Jul 31, 2021
fd9c22c
Merge bitcoin/bitcoin#22589: net, doc: update I2P hardcoded seeds and…
laanwj Aug 2, 2021
bb60960
Merge bitcoin/bitcoin#22593: test: refactor: remove `hex_str_to_bytes…
Aug 2, 2021
2f60d9f
Merge bitcoin/bitcoin#21940: refactor: Mark CAddrMan::Select and GetA…
Aug 2, 2021
efd6f90
Merge bitcoin/bitcoin#22570: Ignore banlist.dat
laanwj Aug 2, 2021
dcd1169
Merge bitcoin/bitcoin#22001: doc: Generate doxygen documentation for …
laanwj Aug 2, 2021
6408b24
fuzz: move init code to the CAddrManDeterministic constructor
vasild Feb 8, 2021
0591710
consensus/params: simplify ValidDeployment check to avoid gcc warning
ajtowns Aug 1, 2021
b620b2d
Merge bitcoin/bitcoin#22378: test: remove confusing `MAX_BLOCK_BASE_S…
Aug 2, 2021
fa2c868
doc: Add release notes for 22570 (ignore banlist.dat)
Aug 2, 2021
4a1b2a7
[GetTransaction] remove unneeded `cs_main` lock acquire
theStack Aug 1, 2021
318176a
doc: Update high-level addrman description
mzumsande Jul 28, 2021
036d7ea
doc: Correct description of CAddrMan::Create()
amitiuttarwar Aug 2, 2021
91b0597
Improve mempool_accept_wtxid.py
naiza2000 Jul 25, 2021
06788c6
Merge bitcoin/bitcoin#21528: [p2p] Reduce addr blackholes
fanquake Aug 3, 2021
10fbb37
Merge bitcoin/bitcoin#22098: [test, init] DNS seed querying logic
fanquake Aug 3, 2021
71797be
Merge bitcoin/bitcoin#22448: Update libsecp256k1 subtree to latest up…
fanquake Aug 3, 2021
5cf28d5
Merge bitcoin/bitcoin#22496: addrman: Remove addrman hotfixes
fanquake Aug 3, 2021
ad0fc45
Merge bitcoin/bitcoin#16333: test: Set BIP34Height = 2 for regtest
Aug 3, 2021
87257d8
Merge bitcoin/bitcoin#22532: test : improve mempool_accept_wtxid.py
Aug 3, 2021
5e33f76
p2p, rpc: address relay fixups
jonatack Aug 3, 2021
31a481b
Merge bitcoin/bitcoin#22597: consensus/params: simplify ValidDeployme…
Aug 3, 2021
eaf09bd
Merge bitcoin/bitcoin#22609: [GetTransaction] remove unneeded cs_main…
fanquake Aug 3, 2021
d54d949
qt: Fix regression in "Encrypt Wallet" menu item
hebasto Aug 3, 2021
3308c61
Merge bitcoin/bitcoin#22576: doc: Update high-level addrman description
fanquake Aug 4, 2021
32fa49a
make ParseOutputType return a std::optional<OutputType>
fanquake Aug 4, 2021
5b2d866
Merge bitcoin/bitcoin#22577: Close minor startup race between main an…
Aug 4, 2021
513e107
Merge bitcoin/bitcoin#22616: p2p, rpc: address relay fixups
Aug 4, 2021
2b06af1
Merge bitcoin/bitcoin#22603: doc: Add release notes for 22570 (ignore…
Aug 4, 2021
8765179
fuzz: check that ser+unser produces the same AddrMan
vasild Feb 8, 2021
4f1a75b
Merge bitcoin/bitcoin#22621: make ParseOutputType return a std::optio…
Aug 4, 2021
5a1bef6
test: refactor: remove binascii from test_framework
Zero-1729 Aug 4, 2021
aa79c91
[docs] Add release notes for #21528
amitiuttarwar Aug 3, 2021
9778b0f
[net_processing] Provide debug error if code assumptions change.
amitiuttarwar Aug 3, 2021
be37037
Merge bitcoin-core/gui#337: test: Use Regex Search in Apptests
hebasto Aug 5, 2021
e9472e6
Merge bitcoin-core/gui#393: Fix regression in "Encrypt Wallet" menu item
hebasto Aug 5, 2021
dd981b5
Merge bitcoin/bitcoin#22618: [p2p] Small follow-ups to 21528
Aug 5, 2021
7d60f7e
Merge bitcoin/bitcoin#22277: test: Properly set BIP34 height in Creat…
Aug 5, 2021
6666ec9
test: Add missing include
Aug 5, 2021
c4b42aa
Merge bitcoin/bitcoin#22630: test: Add missing include
fanquake Aug 5, 2021
f4328eb
Merge bitcoin/bitcoin#22619: test: refactor: use consistent bytes <->…
Aug 5, 2021
d67330d
Merge bitcoin/bitcoin#21129: fuzz: check that ser+unser produces the …
Aug 5, 2021
a9b9ca8
gui: ensure external signer option remains disabled without signers
achow101 Aug 6, 2021
7ebc4c6
Merge bitcoin-core/gui#379: Prompt to reset settings when settings.js…
hebasto Aug 6, 2021
03826ae
Merge bitcoin-core/gui#396: Ensure external signer option remains dis…
hebasto Aug 6, 2021
fabed98
fuzz: Re-enable assert in banman again
Aug 7, 2021
db94d74
Merge bitcoin/bitcoin#22657: fuzz: Re-enable assert in banman again
Aug 7, 2021
86a1e3d
Sync with the main repo up to db94d74f241410d6577b695d73184740797448e6
hebasto Aug 8, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions build-aux/m4/bitcoin_runtime_lib.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# On some platforms clang builtin implementations
# require compiler-rt as a runtime library to use.
#
# See:
# - https://bugs.llvm.org/show_bug.cgi?id=28629

m4_define([_CHECK_RUNTIME_testbody], [[
bool f(long long x, long long y, long long* p)
{
return __builtin_mul_overflow(x, y, p);
}
int main() { return 0; }
]])

AC_DEFUN([CHECK_RUNTIME_LIB], [

AC_LANG_PUSH([C++])

AC_MSG_CHECKING([for __builtin_mul_overflow])
AC_LINK_IFELSE(
[AC_LANG_SOURCE([_CHECK_RUNTIME_testbody])],
[
AC_MSG_RESULT([yes])
AC_DEFINE([HAVE_BUILTIN_MUL_OVERFLOW], [1], [Define if you have a working __builtin_mul_overflow])
],
[
ax_check_save_flags="$LDFLAGS"
LDFLAGS="$LDFLAGS --rtlib=compiler-rt -lgcc_s"
AC_LINK_IFELSE(
[AC_LANG_SOURCE([_CHECK_RUNTIME_testbody])],
[
AC_MSG_RESULT([yes, with additional linker flags])
RUNTIME_LDFLAGS="--rtlib=compiler-rt -lgcc_s"
AC_DEFINE([HAVE_BUILTIN_MUL_OVERFLOW], [1], [Define if you have a working __builtin_mul_overflow])
],
[AC_MSG_RESULT([no])])
LDFLAGS="$ax_check_save_flags"
])

AC_LANG_POP
AC_SUBST([RUNTIME_LDFLAGS])
])
1 change: 1 addition & 0 deletions build_msvc/test_bitcoin/test_bitcoin.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<ClCompile Include="..\..\src\test\util\*.cpp" />
<ClCompile Include="..\..\src\wallet\test\*_fixture.cpp" />
<ClCompile Include="..\..\src\wallet\test\*_tests.cpp" />
<ClCompile Include="..\..\src\wallet\test\util.cpp" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\libbitcoinconsensus\libbitcoinconsensus.vcxproj">
Expand Down
4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1752,6 +1752,10 @@ if test x$build_bitcoin_wallet$build_bitcoin_cli$build_bitcoin_tx$build_bitcoin_
AC_MSG_ERROR([No targets! Please specify at least one of: --with-utils --with-libs --with-daemon --with-gui --enable-bench or --enable-tests])
fi

if test x$enable_fuzz_binary = xyes; then
CHECK_RUNTIME_LIB
fi

AM_CONDITIONAL([TARGET_DARWIN], [test x$TARGET_OS = xdarwin])
AM_CONDITIONAL([BUILD_DARWIN], [test x$BUILD_OS = xdarwin])
AM_CONDITIONAL([TARGET_LINUX], [test x$TARGET_OS = xlinux])
Expand Down
9 changes: 4 additions & 5 deletions contrib/guix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ We achieve bootstrappability by using Guix as a functional package manager.

# Requirements

Conservatively, a x86_64 machine with:
Conservatively, you will need an x86_64 machine with:

- 16GB of free disk space on the partition that /gnu/store will reside in
- 8GB of free disk space **per platform triple** you're planning on building
Expand Down Expand Up @@ -87,7 +87,7 @@ crucial differences:
An invocation with all default options would look like:

```
env DETACHED_SIGS_REPO=<path/to/bitcoin-detached-sigs> ./contrib/guix-codesign
env DETACHED_SIGS_REPO=<path/to/bitcoin-detached-sigs> ./contrib/guix/guix-codesign
```

## Cleaning intermediate work directories
Expand Down Expand Up @@ -437,9 +437,8 @@ In the extraordinarily rare case where you messed up your Guix installation in
an irreversible way, you may want to completely purge Guix from your system and
start over.

1. Uninstall Guix itself according to the way you installed it. (e.g. `sudo apt
purge guix` for Ubuntu packaging, `sudo make uninstall` for
built-from-source).
1. Uninstall Guix itself according to the way you installed it (e.g. `sudo apt
purge guix` for Ubuntu packaging, `sudo make uninstall` for a build from source).
2. Remove all build users and groups

You may check for relevant users and groups using:
Expand Down
13 changes: 6 additions & 7 deletions contrib/guix/guix-attest
Original file line number Diff line number Diff line change
Expand Up @@ -207,29 +207,28 @@ mkdir -p "$outsigdir"
exit 1
fi

temp_codesigned="$(mktemp)"
trap 'rm -rf -- "$temp_codesigned"' EXIT
temp_all="$(mktemp)"
trap 'rm -rf -- "$temp_all"' EXIT

if (( ${#codesigned_fragments[@]} )); then
# Note: all.SHA256SUMS attests to all of $sha256sum_fragments, but is
# not needed if there are no $codesigned_fragments
cat "${sha256sum_fragments[@]}" \
| sort -u \
| sort -k2 \
| sed 's/$/\r/' \
| rfc4880_normalize_document \
> "$temp_codesigned"
if [ -e codesigned.SHA256SUMS ]; then
> "$temp_all"
if [ -e all.SHA256SUMS ]; then
# The SHA256SUMS already exists, make sure it's exactly what we
# expect, error out if not
if diff -u all.SHA256SUMS "$temp_codesigned"; then
if diff -u all.SHA256SUMS "$temp_all"; then
echo "An all.SHA256SUMS file already exists for '${VERSION}' and is up-to-date."
else
shasum_already_exists all.SHA256SUMS
exit 1
fi
else
mv "$temp_codesigned" codesigned.SHA256SUMS
mv "$temp_all" all.SHA256SUMS
fi
else
# It is fine to have the codesigned outputs be missing (perhaps the
Expand Down
2 changes: 1 addition & 1 deletion contrib/guix/guix-build
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ host_to_commonname() {
}

# Determine the reference time used for determinism (overridable by environment)
SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(git log --format=%at -1)}"
SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(git -c log.showSignature=false log --format=%at -1)}"

# Execute "$@" in a pinned, possibly older version of Guix, for reproducibility
# across time.
Expand Down
2 changes: 1 addition & 1 deletion contrib/guix/guix-codesign
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ fi
JOBS="${JOBS:-$(nproc)}"

# Determine the reference time used for determinism (overridable by environment)
SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(git log --format=%at -1)}"
SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(git -c log.showSignature=false log --format=%at -1)}"

# Execute "$@" in a pinned, possibly older version of Guix, for reproducibility
# across time.
Expand Down
28 changes: 27 additions & 1 deletion contrib/guix/guix-verify
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ cmd_usage() {
cat <<EOF
Synopsis:

env GUIX_SIGS_REPO=<path/to/guix.sigs> ./contrib/guix/guix-verify
env GUIX_SIGS_REPO=<path/to/guix.sigs> [ SIGNER=<signer> ] ./contrib/guix/guix-verify

Example overriding signer's manifest to use as base

env GUIX_SIGS_REPO=/home/dongcarl/guix.sigs SIGNER=achow101 ./contrib/guix/guix-verify

EOF
}
Expand Down Expand Up @@ -92,6 +96,17 @@ echo "--------------------"
echo ""
if (( ${#all_noncodesigned[@]} )); then
compare_noncodesigned="${all_noncodesigned[0]}"
if [[ -n "$SIGNER" ]]; then
signer_noncodesigned="$OUTSIGDIR_BASE/$SIGNER/noncodesigned.SHA256SUMS"
if [[ -f "$signer_noncodesigned" ]]; then
echo "Using $SIGNER's manifest as the base to compare against"
compare_noncodesigned="$signer_noncodesigned"
else
echo "Unable to find $SIGNER's manifest, using the first one found"
fi
else
echo "No SIGNER provided, using the first manifest found"
fi

for current_manifest in "${all_noncodesigned[@]}"; do
verify "$compare_noncodesigned" "$current_manifest"
Expand All @@ -112,6 +127,17 @@ echo "--------------------"
echo ""
if (( ${#all_all[@]} )); then
compare_all="${all_all[0]}"
if [[ -n "$SIGNER" ]]; then
signer_all="$OUTSIGDIR_BASE/$SIGNER/all.SHA256SUMS"
if [[ -f "$signer_all" ]]; then
echo "Using $SIGNER's manifest as the base to compare against"
compare_all="$signer_all"
else
echo "Unable to find $SIGNER's manifest, using the first one found"
fi
else
echo "No SIGNER provided, using the first manifest found"
fi

for current_manifest in "${all_all[@]}"; do
verify "$compare_all" "$current_manifest"
Expand Down
7 changes: 5 additions & 2 deletions contrib/macdeploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ Our current macOS SDK
(`Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz`) can be
extracted from
[Xcode_12.1.xip](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip).
An Apple ID is needed to download this.
Alternatively, after logging in to your account go to 'Downloads', then 'More'
and look for [`Xcode_12.1`](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip).
An Apple ID and cookies enabled for the hostname are needed to download this.
The `sha256sum` of the archive should be `612443b1894b39368a596ea1607f30cbb0481ad44d5e29c75edb71a6d2cf050f`.

After Xcode version 7.x, Apple started shipping the `Xcode.app` in a `.xip`
archive. This makes the SDK less-trivial to extract on non-macOS machines. One
Expand Down Expand Up @@ -76,7 +79,7 @@ and its `libLTO.so` rather than those from `llvmgcc`, as it was originally done

To complicate things further, all builds must target an Apple SDK. These SDKs are free to
download, but not redistributable. To obtain it, register for an Apple Developer Account,
then download [Xcode_11.3.1](https://download.developer.apple.com/Developer_Tools/Xcode_11.3.1/Xcode_11.3.1.xip).
then download [Xcode_12.1](https://download.developer.apple.com/Developer_Tools/Xcode_12.1/Xcode_12.1.xip).

This file is many gigabytes in size, but most (but not all) of what we need is
contained only in a single directory:
Expand Down
14 changes: 11 additions & 3 deletions contrib/seeds/nodes_main.txt
Original file line number Diff line number Diff line change
Expand Up @@ -677,12 +677,20 @@ tddeij4qigtjr6jfnrmq6btnirmq5msgwcsdpcdjr7atftm7cxlqztid.onion:8333
vi5bnbxkleeqi6hfccjochnn65lcxlfqs4uwgmhudph554zibiusqnad.onion:8333
xqt25cobm5zqucac3634zfght72he6u3eagfyej5ellbhcdgos7t2had.onion:8333

# manually added 2021-05 for minimal i2p bootstrap support
72l3ucjkuscrbiiepoehuwqgknyzgo7zuix5ty4puwrkyhtmnsga.b32.i2p:0
# manually added 2021-08 for minimal i2p bootstrap support
4hllr6w55mbtemb3ebvlzl4zj6qke4si7zcob5qdyg63mjgq624a.b32.i2p:0
6s33jtpvwzkiej3nff5qm72slgqljxhxn62hdt6m7nvynqsxqdda.b32.i2p:0
a5qsnv3maw77mlmmzlcglu6twje6ttctd3fhpbfwcbpmewx6fczq.b32.i2p:0
bitcornrd36coazsbzsz4pdebyzvaplmsalq4kpoljmn6cg6x5zq.b32.i2p:0
c4gfnttsuwqomiygupdqqqyy5y5emnk5c73hrfvatri67prd7vyq.b32.i2p:0
dhtq2p76tyhi442aidb3vd2bv7yxxjuddpb2jydnnrl2ons5bhha.b32.i2p:0
gehtac45oaghz54ypyopim64mql7oad2bqclla74l6tfeolzmodq.b32.i2p:0
h3r6bkn46qxftwja53pxiykntegfyfjqtnzbm6iv6r5mungmqgmq.b32.i2p:0
hnbbyjpxx54623l555sta7pocy3se4sdgmuebi5k6reesz5rjp6q.b32.i2p:0
pjs7or2ctvteeo5tu4bwyrtydeuhqhvdprtujn4daxr75jpebjxa.b32.i2p:0
i3hcdakiz2tyvggkwefvdjoi7444kgvd2mbdfizjvv43q7zukezq.b32.i2p:0
jz3s4eurm5vzjresf4mwo7oni4bk36daolwxh4iqtewakylgkxmq.b32.i2p:0
kokkmpquqlkptu5hkmzqlttsmtwxicldr4so7wqsufk6bwf32nma.b32.i2p:0
kvrde7mcgjhz3xzeltwy4gs2rxdfbnbs2wc67mh2pt43wjmjnmbq.b32.i2p:0
shh2ewyegnuwnmdse5kl5toybdvzkvk2yj4zcowz6iwhhh3ykdfa.b32.i2p:0
wwbw7nqr3ahkqv62cuqfwgtneekvvpnuc4i4f6yo7tpoqjswvcwa.b32.i2p:0
zsxwyo6qcn3chqzwxnseusqgsnuw3maqnztkiypyfxtya4snkoka.b32.i2p:0
Loading