Fiber Dev Log 2026-02-26 #1149
chenyukang
started this conversation in
Dev Log
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Updates
v0.7.0 Released (2026-02-12) 🥳
The v0.7.0 release marks a significant milestone, introducing significant new features, performance improvements, and breaking changes.
Release note: https://github.com/nervosnetwork/fiber/releases/tag/v0.7.0
Highlights
payment_hashtracing in PaymentActor flows.find_pathperformance, utilizedsecp256k1global-context to avoid repeated context creation, and optimizedPubkeyimplementation. 0.7.0 improved 60% on sending payment performance.session_key,preimage) from debug outputs, prevented integer overflow in onion packet deserialization, and introducedLocalSignerfor secret key management.Breaking Changes
Removed redundant
u64length header from hop data serialization and fixed v0.7.0 migration issues.What did we do last sprint?
cargo-fuzzandlibFuzzersupport to the project.crates/fiber-lib/fuzz/fuzz_targets/to test various componentsdocs/notes/fuzz-testing.md.TrampolineHopPayloadserialization frombincodetomoleculeto keep it consistent with other onion packet data types likePaymentHopData. (Use molecule for trampoline onion packet #1100)PubkeyJSON serialization to align withsecp256k1::PublicKeyformatting. (Remove prefix for pubkey in format #1109)Fromtraits toTryFromincrates/fiber-lib/src/fiber/types.rsfor safe parsing of untrusted P2P network data, preventing panics on invalid data.StoreSampletrait to generate deterministic sample data for testing bincode serialization compatibility across versions.PaymentHopDataschema changes by embeddingtrampoline_onionintoPaymentCustomRecordsto maintain backward compatibility. (Fix v0.7.0 migration issues #1112)global-contextfeature of thesecp256k1crate to avoid the overhead of repeatedly creating new secp256k1 contexts (~1MB of precomputation tables) on hot paths like onion packet peeling and signature operations. (perf: use secp256k1 global-context feature to avoid repeated context creation #1103)-rpc-cors-enabledand-rpc-cors-allowed-originsoptions. (Make CORS configurable and disabled by default #1121)In Pipeline
Adding external wallet signing for channel funding
Implementing RPC endpoints allowing users to open payment channels by signing funding transactions with their own external wallets, instead of having the node automatically sign with its private key.
Add a RocksDB Checkpoint API
Implementing
backup_nowRPC method using RocksDB Checkpoint API for consistent, atomic online backups without requiring node shutdown.Thanks @Zhangcy0x3 for the contribution!
Beta Was this translation helpful? Give feedback.
All reactions