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

Python rebase test #1

Closed
wants to merge 39 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
56c19c9
Replace by fee on mempool (#499)
KaffinPX Jul 22, 2024
0feba1f
style: fix clippy (#510)
biryukovmaxim Jul 26, 2024
9feb5dc
Add input signature_script checking to submitTransaction RPC (#479)
KaffinPX Jul 26, 2024
5ebd9fe
Add hint message for P2P reject reason block not found. (#512)
1bananagirl Aug 7, 2024
6bf1c75
Lazy load origin children (#518)
someone235 Aug 15, 2024
958bc64
O(k log n) mempool transaction sampler + Fee estimation API (#513)
michaelsutton Aug 16, 2024
e6e0f58
#505 #473 Upgrade kaspa-alloc's mimalloc dependency (#519)
saefstroem Aug 19, 2024
866f62f
feat: implement next_block_template_feerate (#523)
biryukovmaxim Aug 21, 2024
261a750
Semaphore tracing feature (for tracing prune readers vs writers time)…
michaelsutton Aug 22, 2024
8e93437
TN11 bug fix: activate mass hashing when modifying a cached block tem…
michaelsutton Aug 22, 2024
63e4863
A few optimizations related to multi-level relations (#527)
michaelsutton Aug 26, 2024
b0f07ef
Query all DNS seeders if missing many connections (#530)
michaelsutton Aug 26, 2024
1c1a692
Cumulative PR - omega branch (wRPC v2, integrations, typescript-v2, r…
aspect Aug 26, 2024
2306592
get_current_block_color RPC utility (#528)
KaffinPX Aug 26, 2024
63e2ab6
Mempool tweaks (#524)
someone235 Aug 27, 2024
c839a9d
Bump to version 0.14.3 (#531)
michaelsutton Aug 28, 2024
864aaf6
Transaction pool -- fix rare cases where byte size tracking was inacc…
michaelsutton Sep 1, 2024
68c298f
adjust mass per block by the specific mass of the outlier transaction…
michaelsutton Sep 2, 2024
7cdabb4
Refactoring of mass calculator utilities (#538)
aspect Sep 2, 2024
f866dfa
Various miscellaneous changes towards 0.15.1 RC2 (#543)
michaelsutton Sep 5, 2024
b04092e
add proxy limit field to sysinfo (#544)
aspect Sep 5, 2024
06a874f
Deprecate zigbuild and glibc in favor of static musl binaries for Lin…
saefstroem Sep 5, 2024
afbcf9e
Change directory back to repo root & Fix Rust v1.81 lints (#545)
saefstroem Sep 6, 2024
27cef9e
WIP: Updates for 15-rc3 (#546)
aspect Sep 9, 2024
7271509
Replace openssl with rustls + ring + webpki_roots (#547)
elichai Sep 9, 2024
5b9c3cf
Fix CLI not showing incorrect URL on connect + add disconnect() befor…
aspect Sep 9, 2024
d1dc5dd
Simple wRPC client example (#550)
thesheepcat Sep 9, 2024
2a99817
15 rc4 updates (#554)
aspect Sep 10, 2024
f335376
Bump to version 0.15.1 (#555)
michaelsutton Sep 11, 2024
f8f9915
Fix typo in IFeeEstimate (#557)
Cryptok777 Sep 12, 2024
613d082
Fix new gRPC methods to use camel case (non-breaking change) (#560)
michaelsutton Sep 14, 2024
882f790
Limited prototype of Python bindings (#56)
smartgoo Jun 28, 2024
a1ecdee
add proc macro scaffolding for python wRPC client methods (#57)
aspect Jun 28, 2024
816fc35
General purpose python macros (#58)
aspect Jun 28, 2024
c9217ed
Python dict type for RPC method arg/return values (#60)
smartgoo Jul 2, 2024
0896fc5
Python wRPC client subscription prototype (#62)
smartgoo Jul 12, 2024
59247c4
Resolver for Python wRPC client prototype (#70)
smartgoo Jul 21, 2024
5ba026b
Python .pyi file example for type hints/editor completion (#72)
cafalchio Jul 21, 2024
26afc2b
Expose kaspa-wallet-keys structs to Python (#84)
smartgoo Aug 8, 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
  •  
  •  
  •  
51 changes: 37 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ jobs:


check-wasm32:
name: Check Wasm32
name: Check WASM32
runs-on: ubuntu-latest
steps:
- name: Checkout sources
Expand Down Expand Up @@ -274,12 +274,16 @@ jobs:
run: cargo clippy -p kaspa-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 Down Expand Up @@ -337,10 +341,20 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Build wasm release
run: cd wasm && bash build-release

run: |
pushd .
cd wasm
bash build-release
popd
mv wasm/release/kaspa-wasm32-sdk.zip wasm/release/kaspa-wasm32-sdk-${{ env.SHORT_SHA }}.zip

- name: Upload WASM build to GitHub
uses: actions/upload-artifact@v4
with:
name: kaspa-wasm32-sdk-${{ env.SHORT_SHA }}.zip
path: wasm/release/kaspa-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 All @@ -354,7 +368,7 @@ jobs:
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable

- name: Cache
- name: Cache Cargo Build Outputs
uses: actions/cache@v4
with:
path: |
Expand All @@ -364,14 +378,23 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-

- name: Cache Toolchain
uses: actions/cache@v4
with:
path: |
~/x-tools
key: ${{ runner.os }}-musl-${{ hashFiles('**/musl-toolchain/preset.sh') }}
restore-keys: |
${{ runner.os }}-musl-

- name: Install zig
if: runner.os == 'Linux'
uses: goto-bus-stop/setup-zig@v2 # needed for cargo-zigbuild

- name: Build on Linux

- name: Build RK with musl toolchain
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 kaspad --bin simpa --bin rothschild --release --target x86_64-unknown-linux-gnu.2.27 # Use an older glibc version
# Run build script for musl toolchain
source musl-toolchain/build.sh
# Build for musl
cargo --verbose build --bin kaspad --bin rothschild --bin kaspa-wallet --release --target x86_64-unknown-linux-musl
34 changes: 22 additions & 12 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable

- name: Cache
- name: Cache Cargo Build Outputs
uses: actions/cache@v3
with:
path: |
Expand All @@ -40,23 +40,33 @@ jobs:
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Install zig on linux
if: runner.os == 'Linux'
uses: goto-bus-stop/setup-zig@v2 # needed for cargo-zigbuild
- name: Cache Toolchain
uses: actions/cache@v4
with:
path: |
~/x-tools
key: ${{ runner.os }}-musl-${{ hashFiles('**/musl-toolchain/preset.sh') }}
restore-keys: |
${{ runner.os }}-musl-

- 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 kaspad --bin simpa --bin rothschild --bin kaspa-wallet --release --target x86_64-unknown-linux-gnu.2.27 # Use an older glibc version
# Run build script for musl toolchain
source musl-toolchain/build.sh

# Go back to the workspace
cd $GITHUB_WORKSPACE

# Build for musl
cargo --verbose build --bin kaspad --bin rothschild --bin kaspa-wallet --release --target x86_64-unknown-linux-musl
mkdir bin || true
cp target/x86_64-unknown-linux-gnu/release/kaspad bin/
cp target/x86_64-unknown-linux-gnu/release/simpa bin/
cp target/x86_64-unknown-linux-gnu/release/rothschild bin/
cp target/x86_64-unknown-linux-gnu/release/kaspa-wallet bin/
archive="bin/rusty-kaspa-${{ github.event.release.tag_name }}-linux-gnu-amd64.zip"
asset_name="rusty-kaspa-${{ github.event.release.tag_name }}-linux-gnu-amd64.zip"
cp target/x86_64-unknown-linux-musl/release/kaspad bin/
cp target/x86_64-unknown-linux-musl/release/rothschild bin/
cp target/x86_64-unknown-linux-musl/release/kaspa-wallet bin/
archive="bin/rusty-kaspa-${{ github.event.release.tag_name }}-linux-musl-amd64.zip"
asset_name="rusty-kaspa-${{ github.event.release.tag_name }}-linux-musl-amd64.zip"
zip -r "${archive}" ./bin/*
echo "archive=${archive}" >> $GITHUB_ENV
echo "asset_name=${asset_name}" >> $GITHUB_ENV
Expand Down
Loading
Loading