Skip to content
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

Feature/rebase to v5.4.x #65

Merged
merged 99 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
363422e
grin rebase (0002) Flexible peer filtering (#3458)
bayk Jun 7, 2024
4ef5646
grin v5.3 (0003) on_block_accepted logging and webhooks all the time …
bayk Jun 7, 2024
4dcffab
grin v5.3 (0004) Disable merkle proofs for v2 get_block (#3487)
bayk Jun 7, 2024
6ca9b7c
grin v5.3 (0005) PMMR segment creation and validation (#3453)
bayk Jun 7, 2024
01b4606
grin v5.3 (0006) default capabilities cleanup (#3484)
bayk Jun 8, 2024
651a349
grin v5.3 (0008) add segmenter for generating segments from txhashset
bayk Jun 8, 2024
e03f364
grin v5.3 (0011) use extend_from_slice when appending multiple hashes
bayk Jun 8, 2024
e1cfa24
grin v5.3 (0011) fixed build issue. Tests are not passing.
bayk Jun 8, 2024
4bc5600
grin v5.3 (0014) fix calls to next_diff() in tests to use next height…
bayk Jun 8, 2024
b298210
grin v5.3 (0016) add peer capabilities to tui peers screen (#3490)
bayk Jun 8, 2024
f4ebd14
grin v5.3 (0018) fix, no more FULL_NODE (#3504)
bayk Jun 8, 2024
e5944df
grin v5.3 (0019) Fix missing path in foreign_api_secret, part of Disa…
bayk Jun 8, 2024
7dc4125
grin v5.3 (0020) PIBD segment p2p messages (#3496)
bayk Jun 10, 2024
dc793c5
grin v5.3 (0021) enable PIBD_HIST capability by default (#3500)
bayk Jun 10, 2024
566151f
grin v5.3 (0022) Fixfees (#3481)
bayk Jun 10, 2024
465fe3e
grin v5.3 (0023) Bump version to 5.0.0-beta.1 (#3505)
bayk Jun 10, 2024
edb6aa4
grin v5.3 (0026) Block migration db flag (only migrate once) (#3512)
bayk Jun 10, 2024
aa43610
grin v5.3 (0027) remove unused function (#3509)
bayk Jun 10, 2024
f1778fe
grin v5.3 (0028) prefer outbound peers when syncing (consistently) (#…
bayk Jun 11, 2024
c9c4170
grin v5.3 (0029) Bump master version to 5.1.0 (#3510)
bayk Jun 11, 2024
209d53d
grin v5.3 (0032) Safety: check length during deserialization (#3551)
bayk Jun 11, 2024
f3f1174
grin v5.3 (0033) fix for missing block under certain startup conditio…
bayk Jun 11, 2024
7eb94d9
grin v5.3 (0034) Block sync hash traversal perf (#3558)
bayk Jun 11, 2024
78ecd66
grin v5.3 (0035) add rate limiting to outbound p2p msg sending (#3560)
bayk Jun 11, 2024
2381f1d
grin v5.3 (0036) pibd capabilities test was only relevant temporarily…
bayk Jun 11, 2024
6628433
grin v5.3 (0037) inc quietly on small batches of headers (#3564)
bayk Jun 11, 2024
259a823
grin v5.3 (0040) inefficient locking on recv of peers lists can resul…
bayk Jun 11, 2024
b805ae3
grin v5.3 (0041) Refactor prune file replace (#3571)
bayk Jun 11, 2024
d971853
grin v5.3 (0042) add BLOCK_HIST capabilities on startup if config arc…
bayk Jun 11, 2024
d5e4432
grin v5.3 (0043) Retire pruned cache (#3573)
bayk Jun 11, 2024
1d8b31f
grin v5.3 (0043) Fix build issues
bayk Jun 12, 2024
31931c7
grin v5.3 (0048) more consistent handling of peers_preferred during s…
bayk Jun 13, 2024
2ea7a6b
grin v5.3 (0049) Update to cursive 0.16 (#3547)
bayk Jun 13, 2024
e72e140
grin v5.3 (0051) Update Tokio, hyper versions (#3580)
bayk Jun 13, 2024
b7b83e9
grin v5.3 (0053) Fix PIBD segments (#3532) (#3583)
bayk Jun 13, 2024
5f45111
grin v5.3 (0054) Mining tui updates (#3584)
bayk Jun 13, 2024
0c978e2
grin v5.3 (0055) Update and do not use serve private export (#3585)
bayk Jun 16, 2024
21bd823
grin v5.3 (0057) Remove unused imports (#3589)
bayk Jun 16, 2024
3ce3b06
grin v5.3 (0058) Remove imports and cleanups (#3590)
bayk Jun 16, 2024
b6c9b8c
grin v5.3 (0060) fix for missing increment of stratum stats blocks_fo…
bayk Jun 16, 2024
e9d68fd
grin v5.3 (0061) Enable block archival sync (#3579)
bayk Jun 16, 2024
2c25a61
grin v5.3 (0069) cleanup and stop wrapping errors in other/unfit (#3616)
bayk Jun 17, 2024
6237f54
grin v5.3 (0070) enhance comment describing how a pow is hashed (#3623)
bayk Jun 17, 2024
2d8a6fe
grin v5.3 (0071) never speak of the verifier cache again (#3628)
bayk Jun 17, 2024
308966c
grin v5.3 (0072) Add test for duplicate rangeproof inflation bug (#3630)
bayk Jun 17, 2024
521421f
grin v5.3 (0075) Update zip dependency and fix deprecation warnings (…
bayk Jun 17, 2024
d71a448
grin v5.3 (0076) fix share difficulty validation - compare stratum se…
bayk Jun 17, 2024
fbabbff
grin v5.3 (0077) Add migration to `config_file_version = 2` (#3634) F…
bayk Jun 17, 2024
8fa7ee8
grin v5.3 (0078) client invalidateheader and resetchainhead (#3618)
bayk Jun 17, 2024
2a1206a
Test to validate the calc_mwc_block_reward & calc_mwc_block_overage m…
bayk Jun 17, 2024
46d4a8b
Merge branch 'master' into feature/rebase_to_v5.4.x
bayk Jun 17, 2024
67e44a3
grin v5.3 (0078) bump to 5.2.0-alpha.1 on master (#3640) Bumped to 5.2.0
bayk Jun 17, 2024
32b9c28
grin v5.3 (0078) bump to 5.2.0-alpha.1 on master (#3640) Bumped to 5.2.0
bayk Jun 17, 2024
cf0e2b5
grin v5.3 (0083) Spelling Improvements (#3642)
bayk Jun 17, 2024
9dcf280
grin v5.3 (0092) Chain Segmenter Validation Test + Block Archive Hori…
bayk Jun 17, 2024
862e9c5
grin v5.3 (0094) [PIBD] PMMR Desegmenter Structure (Pt. 1) (#3667)
bayk Jun 17, 2024
2d602f9
grin v5.3 (0095) Spdupverifypow (#3672)
bayk Jun 17, 2024
3851c00
grin v5.3 (0096) [SYNC PERFORMANCE] Replace header proof serialisatio…
bayk Jun 17, 2024
02a8ae0
missed test data to add
bayk Jun 17, 2024
2818cf1
grin v5.3 (0097) [SYNC PERFORMANCE] Adjust DifficultyIterator to no l…
bayk Jun 18, 2024
b73621e
grin v5.3 (0099) Handle attempts to get block headers at invalid heig…
bayk Jun 18, 2024
baa8fc9
grin v5.3 (0102) TUI Freeze Fix - Add manually maintained hash to
bayk Jun 18, 2024
433e294
grin v5.3 (0104) visibility scope tweaks to aid seed test utilities …
bayk Jun 20, 2024
298396d
grin v5.3 (0106) Updated contributing.md links. (#3727)
bayk Jun 20, 2024
ad292d5
grin v5.3 (0107) Thiserror changeover (#3728)
bayk Jun 21, 2024
8cccba1
grin v5.3 (0107) cargo update
bayk Jun 21, 2024
b220824
grin v5.3 (0108) derive debug for ServerStats (#3731)
bayk Jun 21, 2024
7f21c4c
grin v5.3 (0109) The foreign_rpc and owner_rpc auto generated helper …
bayk Jun 21, 2024
d02d277
grin v5.3 (0110) Override global one times. (#3737)
bayk Jun 21, 2024
70b4411
grin v5.3 (0111) [DNM] PIBD Task / Issue Tracker (#3695)
bayk Jun 21, 2024
e176ae9
grin v5.3 (0116) core wrapper function for subtract signature functio…
bayk Jun 21, 2024
29ff6a1
grin v5.3 (0118) 'Turn on' PIBD on main-net, in advance of 5.2.0 rele…
bayk Jun 21, 2024
cbca11f
grin v5.3 (0119) Foreign API: Bulk block request (#3751)
bayk Jun 21, 2024
c0d67ba
grin v5.3 (0121) pibd: save latest_block_height to request less data …
bayk Jun 21, 2024
c370e17
grin v5.3 (0122) PIBD - Revert earlier pibd_aborted flag in sync logi…
bayk Jun 21, 2024
0df1e43
grin v5.3 (0124) Fix leading zeroes bugs (#3763)
bayk Jun 21, 2024
6c8c242
grin v5.3 Updating croaring to the latest version
bayk Jun 21, 2024
f0e8be8
grin v5.3 (0128) set tail height to include genesis (#3773)
bayk Jun 21, 2024
776ba1e
grin v5.3 (0129) Handle invalid MMR root to prevent sync thread panic…
bayk Jun 21, 2024
4011f9a
grin v5.3 (0130) [PIBD] Fix to restart of PIBD download on corrupted …
bayk Jun 21, 2024
fff8135
grin v5.3 (0132) Update version to 5.3.0
bayk Jun 21, 2024
ece05c0
grin v5.3 (0133) Remove Azure Pipelines and add Github Actions (#3765)
bayk Jun 21, 2024
0e41374
grin v5.3 (0134) warning cleanup (#3759)
bayk Jun 21, 2024
3f25b81
grin v5.3 (0135) more chrono warnings, update cursive lib (#3778)
bayk Jun 21, 2024
b0e747f
grin v5.3 (0136) croaring-rs upgrade 0.5.2 -> 1.0.1 (#3779)
bayk Jun 23, 2024
a640448
grin v5.3 (0138) Update new 5.3.x branch, update rust-secp to 0.7.14…
bayk Jun 23, 2024
89a28e0
grin v5.3 compared 'api' with resulting branch, updated some formatti…
bayk Jun 24, 2024
2ca5b2c
grin v5.3 (0139) Remove Merkle Proof Generation from Foreign API `get…
bayk Jun 24, 2024
8ac117d
grin v5.3 Fix warnings, tests, update formating to match grin. So it …
bayk Jun 28, 2024
87cfa8c
Add more details into the error messsage regarding tor start failure
www Jun 29, 2024
411a275
Merge branch 'feature/rebase_to_v5.4.x' of github.com:mwcproject/mwc-…
bayk Jun 29, 2024
af5eb57
Fixed warnings after Linux build
www Jun 29, 2024
9bde795
Better error printing for SegmentError
bayk Jul 2, 2024
ea21be6
Merge branch 'feature/rebase_to_v5.4.x' of github.com:mwcproject/mwc-…
bayk Jul 2, 2024
d62e2e3
Adopted PIBD for MWC. No hardfork is required
bayk Jul 11, 2024
ac001c5
Detected PIBD sync stale because of the bitmap changes
bayk Jul 12, 2024
c22354d
Rejecting PIBD syncing if node doesn't have all needed data
bayk Jul 12, 2024
24e4180
Revert back segments range control. Instead PIBD data is cleaned on a…
www Jul 13, 2024
c8c3baf
logs change
www Jul 13, 2024
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
75 changes: 75 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: Continuous Deployment

on:
push:
tags:
- "v*.*.*"

jobs:
linux-release:
name: Linux Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --release
- name: Archive
working-directory: target/release
run: tar -czvf grin-${{ github.ref_name }}-linux-x86_64.tar.gz grin
- name: Create Checksum
working-directory: target/release
run: openssl sha256 grin-${{ github.ref_name }}-linux-x86_64.tar.gz > grin-${{ github.ref_name }}-linux-x86_64-sha256sum.txt
- name: Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
files: |
target/release/grin-${{ github.ref_name }}-linux-x86_64.tar.gz
target/release/grin-${{ github.ref_name }}-linux-x86_64-sha256sum.txt

macos-release:
name: macOS Release
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: cargo build --release
- name: Archive
working-directory: target/release
run: tar -czvf grin-${{ github.ref_name }}-macos-x86_64.tar.gz grin
- name: Create Checksum
working-directory: target/release
run: openssl sha256 grin-${{ github.ref_name }}-macos-x86_64.tar.gz > grin-${{ github.ref_name }}-macos-x86_64-sha256sum.txt
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
target/release/grin-${{ github.ref_name }}-macos-x86_64.tar.gz
target/release/grin-${{ github.ref_name }}-macos-x86_64-sha256sum.txt

windows-release:
name: Windows Release
runs-on: windows-2019
env:
ROARING_ARCH: x86-64-v2
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: cargo build --release
- name: Archive
uses: vimtor/action-zip@v1
with:
files: target/release/grin.exe
dest: target/release/grin-${{ github.ref_name }}-win-x86_64.zip
- name: Create Checksum
working-directory: target/release
shell: pwsh
run: get-filehash -algorithm sha256 grin-${{ github.ref_name }}-win-x86_64.zip | Format-List |  Out-String | ForEach-Object { $_.Trim() } > grin-${{ github.ref_name }}-win-x86_64-sha256sum.txt
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
target/release/grin-${{ github.ref_name }}-win-x86_64.zip
target/release/grin-${{ github.ref_name }}-win-x86_64-sha256sum.txt
35 changes: 35 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Continuous Integration
on: [push, pull_request]

jobs:
linux-tests:
name: Linux Tests
runs-on: ubuntu-latest
strategy:
matrix:
job_args: [servers, chain, core, keychain, pool, p2p, src, api, util, store]
steps:
- uses: actions/checkout@v3
- name: Test ${{ matrix.job_args }}
working-directory: ${{ matrix.job_args }}
run: cargo test --release

macos-tests:
name: macOS Tests
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Tests
run: cargo test --release --all

windows-tests:
name: Windows Tests
runs-on: windows-2019
env:
ROARING_ARCH: x86-64-v2
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Tests
run: cargo test --release --all
2 changes: 1 addition & 1 deletion .hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

# Copyright 2018 The Grin Developers
# Copyright 2021 The Grin Developers
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ The development team will be happy to help and guide you with any of these point

When you are starting to contribute to grin, we really would appreciate if you come by the gitter chat channels.

In case of problems with trying out grin, before starting to contribute, there's the [Support chat](https://gitter.im/grin_community/support). Write there about what you've done, what you want to do, and maybe paste logs through a text paste webservice.
In case of problems with trying out grin, before starting to contribute, there's the [grincoin#support](https://keybase.io/team/grincoin) on Keybase. Write there about what you've done, what you want to do, and maybe paste logs through a text paste webservice.

* Please [join the grin Lobby](https://gitter.im/grin_community/Lobby) to get a feeling for the community.
* And [see the developers chat](https://gitter.im/grin_community/dev) if you have questions about source code files.
* Please [join the grincoin#general on Keybase](https://keybase.io/team/grincoin) to get a feeling for the community.
* And see the developers chat channel [grincoin#dev on Keybase](https://keybase.io/team/grincoin) if you have questions about source code files.
If you explain what you're looking at and what you want to do, we'll try to help you along the way.
* Also see `docs/*.md` and the folder structure explanations, and [the wiki](https://github.com/mimblewimble/docs/wiki).
* Further information and discussions are in the [Forum](https://forum.grin.mw), the [website](https://grin.mw), the [mailing list](https://lists.launchpad.net/mimblewimble/) and news channels like the [@grincouncil](https://twitter.com/grincouncil) and a (mostly unfiltered!) Twitter bot that collects headlines, mailing list posts, and reddit posts related to Mimblewimble/Grin: [@grinmw](https://twitter.com/grinmw)
* See `docs/*.md` and the folder structure explanations, [the wiki](https://github.com/mimblewimble/docs/wiki) and the official [Grin documentation](https://docs.grin.mw/).
* Further information and discussions are in the [Forum](https://forum.grin.mw), the [website](https://grin.mw), the [mailing list](https://lists.launchpad.net/mimblewimble/) and news channels like the [Reddit/grincoin](https://www.reddit.com/r/grincoin/) and a (mostly unfiltered!) Twitter bot that collects headlines, mailing list posts, and reddit posts related to Mimblewimble/Grin: [@grinmw](https://twitter.com/grinmw)

## Testing

Expand Down
Loading
Loading