1356 Commits

Author SHA1 Message Date
losh11
c33d608c4b
update fixed peers 2024-03-06 09:59:39 +00:00
losh11
260de8480f
fix: secp-zkp refs + VG_CHECK test + block_assemble bench 2024-03-03 03:13:12 +00:00
fanquake
0698e23d7a build: use -isysroot over --sysroot on macOS 2024-02-18 05:27:28 +00:00
fanquake
05be4913b3 build: Xcode 12.1, macOS SDK 10.15.6 2024-02-18 05:27:28 +00:00
David Burkett
f7b893485c New seed format and added TOR seeds 2022-05-30 16:56:51 -04:00
David Burkett
d314b5cd9f Adding more mainnet seeds and re-tagging 0.21.2 2022-05-08 18:18:03 +01:00
David Burkett
8340829bc8 * Remove temporary g_desire_mweb_flag hack and always just require NODE_MWEB. There are enough MWEB-capable public nodes now, so this is no longer necessary.
* Update chainparamsseeds.h to include some additional MWEB-capable public nodes
* Only set NODE_MWEB service flag when NODE_WITNESS is set
2022-05-08 18:18:03 +01:00
Loshan T
ac398fe074 update signapple tool for runtime hardening 2022-05-08 18:18:03 +01:00
Andrew Chow
a52a7e1043 gitian: Remove codesign_allocate and pagestuff from MacOS build 2022-05-08 18:18:03 +01:00
Andrew Chow
d48cabde70 gitian: use signapple to create the MacOS code signature 2022-05-08 18:18:03 +01:00
Andrew Chow
f9ecb1345b gitian: use signapple to apply the MacOS code signature 2022-05-08 18:18:03 +01:00
Andrew Chow
0d6e794d51 gitian: install signapple in gitian-osx-signer.yml 2022-05-08 18:18:03 +01:00
fanquake
12ac5ee4d3 build: Replace genisoimage with xorriso
xorriso and its mkisofs/genisoimage emulation alter-ego xorrisofs are
more maintained, and has the right toggles for us to achieve output
determinism without using blunt tools like faketime.

In this commit, we use xorrisofs from the build environment rather than
building it ourselves using depends. This is not necessary and can be
changed in the future.

From https://wiki.debian.org/genisoimage?action=recall&rev=11 :

> The classical command line interface for production of ISO 9660
> filesystem images is the option set established by program mkisofs.
> For reasons of licensing and other problems with its author, Debian
> ships a fork of mkisofs, called genisoimage, which was split off in
> 2006 and then developed independently.
>
> Meanwhile, genisoimage gets no new features and not even bug fixes. It
> is first choice only if its options -udf or -hfs are needed.
>
> Replacement in most uses cases, especially for bootable ISO 9660
> filesystems, archiving, and backup, is xorrisofs which starts the -as
> mkisofs emulation mode of program xorriso.
2022-05-08 18:18:03 +01:00
Carl Dong
85baf03f17 build: Run libdmg-hfsplus's DMG tool in make deploy
Previously, the compression of the .iso file to a .dmg file was done
outside of `make deploy' in order to use the faketime-wrapped version of
libdmg-hfsplus's DMG tool.

Specifying the faketime-wrapped version of the DMG tool to ./configure
fixes this and simplifies build scripts.
2022-05-08 18:18:03 +01:00
fanquake
8239ab8bc3 build: set minimum supported macOS to 10.14 2022-05-08 18:18:03 +01:00
losh11
6f8245a5b7 build: macOS notarisation process 2022-05-08 18:18:03 +01:00
David Burkett
53df3e9978 Updating gitian-descriptors and release-notes-litecoin.md 2022-05-08 18:18:03 +01:00
TheHolyRoger
2efa3e02dc Add THR PGP Pub key 2022-01-29 12:55:07 +00:00
David Burkett
f4c8eb7019 Include Security library in MACHO_ALLOWED_LIBRARIES 2021-11-02 09:15:01 -04:00
David Burkett
5a6be4799a Adding gpg key 2021-11-02 09:14:01 -04:00
Adrian Gallagher
16acbde64a
Litecoin: Update windows codesigning cert 2021-05-17 23:03:23 -07:00
Adrian Gallagher
3a153f6011
Litecoin: Update hardcoded seeds 2021-05-17 23:03:18 -07:00
Adrian Gallagher
64cefb51d4
Litecoin: man page 2021-05-17 22:25:52 -07:00
Adrian Gallagher
67c01f547d
Litecoin: gitian descriptors 2021-05-17 22:25:52 -07:00
Adrian Gallagher
e16dd76732
Litecoin: Multisig code testing 2021-05-17 22:25:18 -07:00
Adrian Gallagher
b1d93ab703
Litecoin: Update hardcoded seeds 2021-05-17 22:15:11 -07:00
Adrian Gallagher
86b0e12da3
Litecoin: Branding 2021-05-17 22:15:08 -07:00
Adrian Gallagher
258a64eb5d
Litecoin: Build system and utilties 2021-05-17 22:14:38 -07:00
Adrian Gallagher
cb36d00566
Litecoin: Update windeploy cert and timestamping server 2021-05-17 22:14:37 -07:00
Adrian Gallagher
533dde099d
Litecoin: Update trusted keys
GPG keys for coblee, shaolinfry, thrasher and xinxi
2021-05-17 22:14:37 -07:00
Adrian Gallagher
ca05541ac5
Litecoin: Update hardcoded seeds 2021-05-17 22:14:36 -07:00
Adrian Gallagher
a66fc11fc4
Litecoin: Protocol and default settings
0) Adjust BIP30 enforcement values

1) Reduce amount that peers can adjust our time to eliminate an attack vector. Thanks to
coblee for this fix.

2) Zeitgeist2 patch - thanks to Lolcust and ArtForz. This fixes an issue where a
51% attack can change difficulty at will. Go back the full period unless it's the
first retarget after genesis.

3) Avoid overflow in CalculateNextWorkRequired(). Thanks to pooler for the overflow fix.

4) Zeitgeist2 bool fshift bnNew.bits(). Thanks to romanornr for this path.

5) SegWit ContextualCheckBlockHeader adjustment and extra coverage.

6) Reject peer proto version below 70002. Thanks to wtogami for this patch.

7) Send final alert message to nodes warning about removal of the alert system. Thanks to coblee for this patch.

8) Adjust default settings for Litecoin.

9) Adjust STALE_CHECK_INTERVAL value
2021-05-17 22:14:35 -07:00
shaolinfry
d6e910a089
Litecoin: Update gitian descriptors 2021-05-17 22:14:34 -07:00
shaolinfry
bbb02f393f
Litecoin: Developer gpg keys 2021-05-17 22:13:34 -07:00
shaolinfry
981c448c28
Litecoin: Adjust chain parameters 2021-05-17 22:12:44 -07:00
Pieter Wuille
7dfe406e20 Add signet support to gen_key_io_test_vectors.py
Github-Pull: #20861
Rebased-From: 2e7c80fb5be82ad4a3f737cab65b31f70a772a23
2021-03-27 12:09:48 -07:00
Pieter Wuille
593e206627 Use Bech32m encoding for v1+ segwit addresses
This also includes updates to the Python test framework implementation,
test vectors, and release notes.

Github-Pull: #20861
Rebased-From: fe5e495c31de47b0ec732b943db11fe345d874af
2021-03-27 12:09:44 -07:00
fanquake
3457054c61
Merge #20346: script: modify security-check.py to use "==" instead of "is" for literal comparison
b6121edf70a8d50fd16ddbba0c3168e5e49bfc2e swapped "is" for "==" in literal comparison (Tyler Chambers)

Pull request description:

  In Python 3.8+ literal comparisons using "is" instead of "==" produce a SyntaxWarning [source](https://docs.python.org/3.8/whatsnew/3.8.html#changes-in-python-behavior).

  I checked the entire devtools directory, this seems to be the only occurrence.

  This is a small fix, but removes the SyntaxWarning.
  Fixes: #20338

ACKs for top commit:
  hebasto:
    re-ACK b6121edf70a8d50fd16ddbba0c3168e5e49bfc2e, only squashed since my [previous](https://github.com/bitcoin/bitcoin/pull/20346#pullrequestreview-525934568) review.
  practicalswift:
    re-ACK b6121edf70a8d50fd16ddbba0c3168e5e49bfc2e: patch still looks correct
  theStack:
    utACK b6121edf70a8d50fd16ddbba0c3168e5e49bfc2e

Tree-SHA512: 82a43495d6552fbaa3b02b58f0930b049d27aa937fe44b47714e3c059f844cc494de20674557371cbccf24fb8873ecb7376fb965ae326847eed2b855ed2d59c6
2020-11-17 13:57:40 +08:00
Tyler Chambers
b6121edf70 swapped "is" for "==" in literal comparison
update lint-python.sh to include check F632
2020-11-09 10:21:51 -05:00
Wladimir J. van der Laan
f70eb51b05
Merge #20318: build: Ensure source tarball has leading directory name
faa2f06f5eaf8578873495f44603ee74d7a1abf4 scripted-diff: [build] Ensure source tarball has leading directory name (MarcoFalke)

Pull request description:

  This has been fixed in 0.20, so it needs to be fixed on master as well to avoid a regression

  #18945

ACKs for top commit:
  laanwj:
    ACK faa2f06f5eaf8578873495f44603ee74d7a1abf4
  hebasto:
    ACK faa2f06f5eaf8578873495f44603ee74d7a1abf4, tested gitian builds only.
  promag:
    ACK faa2f06f5eaf8578873495f44603ee74d7a1abf4.

Tree-SHA512: e3b025c29c45b025002abc35262bb5d771f6cbd807f1c256c477c243685e93cd43ad9f642b38e3cf218590912abe6ea0ddfec3bfbef36f99080aad74ed6cc0af
2020-11-09 15:06:20 +01:00
MarcoFalke
faa2f06f5e
scripted-diff: [build] Ensure source tarball has leading directory name
-BEGIN VERIFY SCRIPT-
sed -i 's|git archive --|git archive --prefix="${DISTNAME}/" --|g'                          $(git grep -l 'git archive' ./contrib)
sed -i 's|tar -xf "\?${\?GIT_ARCHIVE}\?"\?|tar --strip-components=1 -xf "${GIT_ARCHIVE}"|g' $(git grep -l 'tar -xf'     ./contrib)
-END VERIFY SCRIPT-
2020-11-05 17:31:24 +01:00
Jonas Schnelli
04a69c200e macOS deploy: use the new plistlib API
See https://docs.python.org/3/library/plistlib.html.
The new API was added in 3.4 and old removed in 3.9.
2020-11-04 10:28:02 +01:00
Wladimir J. van der Laan
6866259fab net: Hardcoded seeds update for 0.21
Stats:

```
  IPv4   IPv6  Onion Pass
426728  59523   7900 Initial
426728  59523   7900 Skip entries with invalid address
426728  59523   7900 After removing duplicates
426727  59523   7900 Skip entries from suspicious hosts
123226  51785   7787 Enforce minimal number of blocks
121710  51322   7586 Require service bit 1
  4706   1427   3749 Require minimum uptime
  4124   1098   3681 Require a known and recent user agent
  4033   1075   3681 Filter out hosts with multiple bitcoin ports
   512    140    512 Look up ASNs and limit results per ASN and per net
```
2020-10-25 14:25:00 +01:00
RandyMcMillan
36e875b4c5 contrib: Add new versions to makeseeds.py and update gitignore 2020-10-25 14:08:33 +01:00
MarcoFalke
fa68755364
contrib: Fix gen_key_io_test_vectors.py imports 2020-10-16 13:48:17 +02:00
Andrew Chow
e87df82580 Add sqlite to travis and depends 2020-10-14 11:18:13 -04:00
gr0kchain
8a4dcda414 doc: Added default signet config for linearize script 2020-09-25 14:37:22 +02:00
Gregory Sanders
759d94e70f Update zmq notification documentation and sample consumer 2020-09-22 11:34:30 -04:00
Jon Atack
062e6699c4
script: fix zmq_sub.py file permissions 2020-09-04 17:48:32 +02:00
Hennadii Stepanov
bd897ce79f
scripted-diff: Move previous_release.py to test/get_previous_releases.py
-BEGIN VERIFY SCRIPT-
OLD=contrib/devtools/previous_release.py
NEW=test/get_previous_releases.py
sed -i "s|$OLD|$NEW|g" $(git grep -l $OLD)
git mv $OLD $NEW
-END VERIFY SCRIPT-
2020-08-29 11:26:25 +03:00