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

Dev 0.3.16 merge into main for next release #21

Merged
merged 54 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
539af9c
fix deprecated `IdbIndexParameters::unique` method warnings
x100111010 Aug 18, 2024
52f9147
remove unnecessary conditions in `Matrix::compute_rank`
x100111010 Aug 18, 2024
2ed9210
Merge pull request #15 from x100111010/wallet
0xA001113 Oct 16, 2024
87df80a
TN and TN11 DNS seeders
0xA001113 Oct 17, 2024
1b0956d
replace by fee on mempool
x100111010 Oct 18, 2024
817a3db
input signature_script checking to submitTransaction
x100111010 Oct 19, 2024
a7ff129
hint message for P2P reject reason block not found
x100111010 Oct 19, 2024
91f8117
lazy load origin children
x100111010 Oct 19, 2024
93fdc31
O(k log n) mempool transaction sampler + Fee estimation API
x100111010 Oct 19, 2024
ec3b064
update mimalloc dep
x100111010 Oct 19, 2024
f24bbb7
feat: next_block_template_feerate
x100111010 Oct 19, 2024
411bc42
semaphore tracing feature (for tracing prune readers vs writers time)
x100111010 Oct 19, 2024
6b46dc6
TN11 bug fix: activate mass hashing when modifying a cached block tem…
x100111010 Oct 19, 2024
694da52
optimizations related to multi-level relations
x100111010 Oct 19, 2024
4e35e0b
query all DNS seeders if missing many connections
x100111010 Oct 19, 2024
052e65c
wRPC v2, integrations, typescript-v2, resolver v2
x100111010 Oct 19, 2024
8d49801
get_current_block_color RPC utility
x100111010 Oct 20, 2024
1ced37a
mempool tweaks
x100111010 Oct 20, 2024
509e900
transaction pool -- fix rare cases where byte size tracking was inacc…
x100111010 Oct 20, 2024
7ecb3f4
feerate estimator outliers: capture block slot by the specific mass o…
x100111010 Oct 20, 2024
c759870
refactoring of mass calculator utilities
x100111010 Oct 20, 2024
82c4d2c
Merge pull request #18 from 0xA001113/dev
0xA001113 Oct 21, 2024
52d541a
Resolved conflicts in indexdb.rs
x100111010 Oct 21, 2024
d756c45
Merge pull request #19 from x100111010/k_upstream
0xA001113 Oct 21, 2024
deb1a8b
Various miscellaneous changes for next release
0xA001113 Oct 22, 2024
c40d2e6
Add optional proxy socket limit info to utils::SystemInfo()
0xA001113 Oct 22, 2024
490af48
WASM SDK improvements
0xA001113 Oct 22, 2024
da843c8
Replace openssl with rustls + ring + webpki_roots
0xA001113 Oct 22, 2024
fe0a71f
Do disconnect() before connect()
0xA001113 Oct 22, 2024
77eded3
Fix CLI not showing incorrect URL on connect
0xA001113 Oct 22, 2024
3648fd7
Simple wRPC client example
0xA001113 Oct 22, 2024
70634f0
Bump tonic and prost versions, adapt middlewares
0xA001113 Oct 22, 2024
485132a
Metrics: fix first snapshot sample + cleanup
0xA001113 Oct 22, 2024
f2cd9b4
Wallet SDK:
0xA001113 Oct 22, 2024
6de6d1a
Fix new gRPC methods to use camel case (non-breaking change)
0xA001113 Oct 22, 2024
8609ab8
virtual chain from block batching
0xA001113 Oct 22, 2024
1b0e3f8
Few CLI rpc query fixes
0xA001113 Oct 22, 2024
d4c30e5
Fix psst implementation
0xA001113 Oct 22, 2024
4aa6c3d
Documentation updates relevant for Spectre only
0xA001113 Oct 22, 2024
3d75fdf
Fix wRPC JSON notification message format
0xA001113 Oct 22, 2024
2af2598
WASM RPC method type updates
0xA001113 Oct 22, 2024
ae7b054
Cleanup legacy bip39 cfg flags interfering with docs.rs documentation…
0xA001113 Oct 22, 2024
44d8129
Parallelize MuHash calculations
0xA001113 Oct 22, 2024
7897256
Bump tonic version
0xA001113 Oct 22, 2024
fac1c17
Enhance tx inputs processing
0xA001113 Oct 22, 2024
3783dea
Muhash parallel reduce -- optimize U3072 mul when LHS = one
0xA001113 Oct 22, 2024
a694aa6
Version bump, rust 1.82 and missing dependencies
0xA001113 Oct 22, 2024
ba4ae26
Fix out-of-order upstream merges
0xA001113 Oct 23, 2024
6799c51
fmt fixes + clippy fixes by enforcing specific wasm-bindgen version
0xA001113 Oct 23, 2024
01db7eb
mempool std sig op count check
0xA001113 Oct 23, 2024
02885b6
fix warning: ambiguous glob re-exports
0xA001113 Oct 23, 2024
c28bdde
Fix out-of-order upstream merges, part 2
0xA001113 Oct 23, 2024
a9595c8
Merge pull request #20 from 0xA001113/dev-0.3.16
0xA001113 Oct 24, 2024
2d9b0ee
Merge pull request #16 from x100111010/dev
0xA001113 Oct 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 26 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,11 @@ jobs:

test:
name: Test Suite
# runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
# matrix:
# os: [ ubuntu-latest, macos-latest, windows-latest ]
steps:

# Clean unnecessary files to save disk space
- name: clean unnecessary files to save space
run: |
Expand Down Expand Up @@ -68,6 +66,7 @@ jobs:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:

# This might remove tools that are actually needed, if set to "true" but frees about 6 GB
tool-cache: false

Expand Down Expand Up @@ -125,6 +124,9 @@ jobs:
- name: Run cargo doc tests with features=no-asm on spectre-hashes
run: cargo test --doc --release -p spectre-hashes --features=no-asm

- name: Run cargo doc
run: cargo doc --release --no-deps --workspace

lints:
name: Lints
runs-on: ubuntu-latest
Expand Down Expand Up @@ -160,7 +162,7 @@ jobs:
run: cargo clippy --workspace --tests --benches -- -D warnings

check-wasm32:
name: Check Wasm32
name: Check WASM32
runs-on: ubuntu-latest
steps:
- name: Checkout sources
Expand Down Expand Up @@ -188,6 +190,7 @@ jobs:
sudo update-alternatives --install /usr/bin/c++ c++ /usr/lib/llvm-15/bin/clang++ 0

- name: Install gcc-multilib

# gcc-multilib allows clang to find gnu libraries properly
run: |
sudo apt-get update
Expand Down Expand Up @@ -231,12 +234,16 @@ jobs:
run: cargo clippy -p spectre-wasm --target wasm32-unknown-unknown

build-wasm32:
name: Build Wasm32
name: Build WASM32 SDK
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Setup Environment
shell: bash
run: echo "SHORT_SHA=`git rev-parse --short HEAD`" >> $GITHUB_ENV

- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
Expand All @@ -259,6 +266,7 @@ jobs:
sudo update-alternatives --install /usr/bin/c++ c++ /usr/lib/llvm-15/bin/clang++ 0

- name: Install gcc-multilib

# gcc-multilib allows clang to find gnu libraries properly
run: |
sudo apt-get update
Expand Down Expand Up @@ -293,20 +301,25 @@ jobs:
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Build wasm release
- name: Build WASM release
env:
TARGET_CC: clang
TARGET_CFLAGS: -I/usr/include
run: cd wasm && bash build-release
run: |
pushd .
cd wasm
bash build-release
popd
mv wasm/release/spectre-wasm32-sdk.zip wasm/release/spectre-wasm32-sdk-${{ env.SHORT_SHA }}.zip

- name: Upload wasm binary to GitHub
- name: Upload WASM build to GitHub
uses: actions/upload-artifact@v4
with:
name: spectre-wasm32-sdk
path: wasm/release/spectre-wasm32-sdk.zip
name: spectre-wasm32-sdk-${{ env.SHORT_SHA }}.zip
path: wasm/release/spectre-wasm32-sdk-${{ env.SHORT_SHA }}.zip

build-release:
name: Build Ubuntu Release
name: Build Linux Release
runs-on: ubuntu-latest
steps:
- name: Checkout sources
Expand Down Expand Up @@ -337,7 +350,8 @@ jobs:

- name: Build on Linux
if: runner.os == 'Linux'

# We're using musl to make the binaries statically linked and portable
run: |
cargo install cargo-zigbuild
cargo --verbose zigbuild --bin spectred --bin simpa --bin rothschild --release --target x86_64-unknown-linux-gnu.2.27 # Use an older glibc version
cargo --verbose zigbuild --bin spectred --bin simpa --bin rothschild --release --target x86_64-unknown-linux-gnu.2.27 # Use an older glibc version
21 changes: 14 additions & 7 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,7 @@ jobs:
sudo update-alternatives --install /usr/bin/c++ c++ /usr/lib/llvm-15/bin/clang++ 0

- name: Install gcc-multilib

# gcc-multilib allows clang to find gnu libraries properly.
# gcc-multilib allows clang to find gnu libraries properly
run: sudo apt install -y gcc-multilib

- name: Install stable toolchain
Expand Down Expand Up @@ -366,13 +365,21 @@ jobs:
TARGET_CC: clang
TARGET_CFLAGS: -I/usr/include
run: |
mkdir sdk || true
cd wasm
bash build-release
mv release/spectre-wasm32-sdk.zip ../sdk/spectre-wasm32-sdk-${{ github.event.release.tag_name }}.zip
mv release/spectre-wasm32-sdk.zip ../spectre-wasm32-sdk-${{ github.event.release.tag_name }}.zip

archive="spectre-wasm32-sdk-${{ github.event.release.tag_name }}.zip"
asset_name="spectre-wasm32-sdk-${{ github.event.release.tag_name }}.zip"
echo "archive=${archive}" >> $GITHUB_ENV
echo "asset_name=${asset_name}" >> $GITHUB_ENV

- name: Upload WASM32 SDK
uses: softprops/action-gh-release@v2
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
sdk/*.zip
upload_url: ${{ github.event.release.upload_url }}
asset_path: "./${{ env.archive }}"
asset_name: "${{ env.asset_name }}"
asset_content_type: application/zip
Loading