Bitcoin Forum
December 03, 2026, 06:01:23 PM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3]  All
  Print  
Author Topic: [ANN] 🌐⦿ FINALIS-CORE ⦿ | Testnet-3 live: Utxo/ Time Lock/ Long Lock. 🌐  (Read 1042 times)
reikagi (OP)
Newbie
*
Online Online

Activity: 54
Merit: 0


View Profile
November 08, 2026, 05:34:17 AM
Last edit: November 10, 2026, 04:39:33 PM by Welsh
 #41

Decryption speed update for Finalis Core. Opening a time-locked transaction now takes about 45 ms on a desktop CPU and about 266 ms on a small 2-vCPU testnet server.  In the next release, a node will also hold its consensus lock for only 2.2 ms per settlement, down from 78 ms. On multi-core machines, this means a node can process many encrypted transactions.  But I'm not trying to win a hardware race.  My goal is for Finalis to run on minimal hardware, because the cheaper it is to run a validator, the harder the network is to capture.

I'm still working on making it faster.
Email: reikagitakashi@gmail.com
Finalis Core v2.2.13: first flag-day upgrade on testnet-3, the chain paused and resumed cleanly

v2.2.13 changes consensus rules, so old and new nodes can't run together.  I released it as a coordinated flag day: everyone updates within one window (8 November, 17:00–19:00 UTC).  Nodes with different rules refuse each other at the handshake (consensus-rules fingerprint), so the two versions never mix.

What happened
  • 17:30:08 UTC: block 4800 finalized, the last block on the old rules.
  • Finality needs a 2/3 quorum, so neither the old group nor the new group could finalize alone. The chain paused.
  • Every new block carries a threshold time signature for its parent.  Block 4801 needed 9 of the 13 validators who finalized block 4800.  Once the 9th of them updated, the next round went through.
  • 18:31:36 UTC: block 4801 finalized on v2.2.13.  Both of my nodes have the same hash, and the confidential supply audit matches.
Total pause: about 61 minutes.  No fork, no reorg, no lost blocks, no lost coins, and no manual intervention.

What v2.2.13 fixes
Each of the 8 ingress lanes has one certifier at a time.  Before this release, that certifier was fixed for a 32-block epoch, so an offline validator could hold up its lane's transactions until the epoch ended. Now:
  • Certifiers rotate every 2 blocks.
  • A certifier is chosen only from committee members who signed one of the last 2 finalized blocks, so an offline validator stops being chosen.
  • Every node computes the same certifier from finalized data alone.
In my chaos tests (crashes, partitions, Byzantine nodes), 0 of 153 time locks were lost, and no forks or stalls occurred.

What I learned
The upgrade happened right at an epoch boundary.  The new committee had enough upgraded members almost immediately, but the parent block's time signature still needed the old committee.  Before mainnet, I'll work on signaled activation, so upgrades don't depend on everyone switching in the same hour.

Release (Linux, Docker, Windows): https://github.com/FinalisCore/finalis-core/releases/tag/v2.2.13



v2.2.14 released

I've published v2.2.14. It fixes two bugs that blocked new nodes from joining testnet-3:
 
Fresh sync stalled at block 36.  The v2.2.13 ingress certificate rule was applied to pre-upgrade history, so block 37 was rejected.  The rule now activates at height 4801, and earlier blocks validate under the previous rule.
Snapshot import replayed from genesis.  The exporter omitted some state rows (committee checkpoints, join requests, finalized randomness, validator window counters), so the startup check failed and the node fell back to a full replay.  Snapshots are now complete, and an imported node starts directly at the snapshot height.
Upgrade: required for new nodes, recommended for existing ones.  No flag day: running nodes are unaffected and mixed versions are fine.

Download and checksums: https://github.com/FinalisCore/finalis-core/releases/tag/v2.2.14 (the Windows installer follows shortly).
reikagi (OP)
Newbie
*
Online Online

Activity: 54
Merit: 0


View Profile
November 10, 2026, 07:06:02 PM
 #42


A thank-you, sealed on chain 🔒

NakedCat (CodeBlockLabs) sent me detailed feedback from running a node on the testnet.  Instead of only replying here, I wrote the answer into the blockchain as a time-locked message:

Code:
https://finalis.self-link.com/tx/a8f57ee1208c14c689717cb3292309794b0a9d41f04f85979d158d72c469b7f9

It's sealed until block 5747. Until then nobody can read it, not even me.  At that block the validators open it together, and it stays public on chain forever.

Check it yourself after block 5747:

Code:
finalis-cli --testnet get_timed_reveal --txid a8f57ee1208c14c689717cb3292309794b0a9d41f04f85979d158d72c469b7f9

The message lists what's already fixed from the feedback and what's next. Thanks, NakedCat 🙏
reikagi (OP)
Newbie
*
Online Online

Activity: 54
Merit: 0


View Profile
November 16, 2026, 08:07:41 PM
 #43

Finalis Core v2.3.2: home nodes, IPv6, signed release notices

v2.3.2 is out on testnet-3. It is a recommended update, not a flag day: the consensus rules are the same as in v2.2.15, so old and new nodes stay connected. Testnet coins have no value.

Release: https://gitlab.com/FinalisCore/finalis-core/-/releases/v2.3.2
(The project moved to GitLab after the GitHub account was suspended. The appeal is still open.)

What I fixed

  • No node ever dialed an IPv6 address. Nodes accepted IPv6 connections, but the dial code split address:port at the first colon. For an IPv6 address that gives an empty host, so every IPv6 peer was skipped, without a log line. The usual bracketed form [2001:db8::1]:19540 failed too. Fixed; a test now connects two nodes over IPv6 in both spellings.
  • Announced addresses on other ports were never used. The address book kept only the default P2P port, so a home router forwarding a different outside port, or two nodes behind one router, were never dialed by anyone.
  • Wrong port behind some NATs (fixed in v2.2.16): a node announced the UDP port its NAT used for the STUN query as its TCP port. 3 of 19 testnet validators announced such random ports, all closed.
  • Explorer: cached pages without a refresh time printed an uninitialized value as the time. Found by clang-tidy.

New: dial-back verification

Every node now sends a random per-process instance id in its handshake. When a peer announces an address, the node dials it once and accepts it only if the node there shows the same id. This:
  • accepts an address that differs from the connection's source IP, e.g. a public IPv6 address of a node whose IPv4 is behind carrier-grade NAT;
  • keeps closed ports out of the address book;
  • gives the announcing node a real incoming connection, so its "reachable" status is true.
Announcing someone else's address gets them one connection, at most once every 6 hours per address, capped at 6 probes a minute per node. It needs no new message type, so old nodes are unaffected.

New: signed release notices, no auto-install

A timer checks every 6 hours for a newer release signed with my release key, and the node writes one line in its log when there is one. It never installs anything. I decided against auto-install: with one maintainer key, a stolen key would be enough to push code to every validator. Release key:
Code:
e59b1b523a2497214caa38c6356e6aa3d41e1b1e8496409db872e18995bcfaf6

Running a node at home

A node works with every port closed: it connects out, syncs and validates. Accepting connections helps the network. In short:
  • Check: get_status reports inbound_reachability = reachable or not_seen.
  • The node asks the router to open TCP 19540 by itself (UPnP / NAT-PMP); otherwise forward it by hand.
  • ISP box plus your own router: forward on both, or bridge the ISP box.
  • Carrier-grade NAT: IPv4 forwarding cannot work; with a public IPv6 address, open 19540 in the router's IPv6 firewall and set EXTERNAL_ENDPOINT=[your IPv6]:19540.
Guide: https://gitlab.com/FinalisCore/finalis-core/-/blob/main/docs/operations/HOME_NODE.md

How I checked it
  • The whole testnet-3 chain replayed from block 0 with v2.3.2 reaches the same block hashes.
  • Live test on testnet-3 with v2.2.16, the base of this release: 221 transactions of 10 types, all finalized, none rejected, median 123 s to final.
  • clang-tidy over the whole code base: 158 findings to 0. None was a reachable consensus bug.
  • Every fix comes with a test that failed before it.

Join

Testnet-3 has 19 validators. If you want to run one, especially from home, the join guide is here:
https://gitlab.com/FinalisCore/finalis-core/-/blob/main/testnet/JOIN.md
reikagi (OP)
Newbie
*
Online Online

Activity: 54
Merit: 0


View Profile
November 21, 2026, 01:12:23 PM
 #44

Two new documents: how to help without code, and rules for any future funding

After a contributor added a plain-language page to the website and asked whether the project would accept sponsorship, I wrote down two things.

1. Help without writing code
CONTRIBUTING.md now starts with non-code work:
  • Bug reports.  "I didn't understand this screen" is a valid report; unclear wording is a bug.
  • Testing the Android wallet on cheap or old phones, with testnet coins (no value) from the Discord faucet.
  • Translating the website and the plain-language docs.  The apps can't be translated yet; adding that is a coding task.
  • Tutorials, reviews of the website's pages, and running a testnet validator.
CONTRIBUTING.md

2. Rules for money, written before there is any money
  • Money goes to the people who did the work, never to me or through me.  I am not paid from project funds, I don't hold them, and I don't approve payouts.
  • Support is not an investment: it buys no coins, no share and no say over the rules.  No token sale, no premine.
  • Every amount received and paid goes in one public ledger.
  • Payment is for finished, checkable work: a merged change, a reproduced bug, a published tutorial, a published security review.
  • Two approvers who are not me, and anyone can object within 7 days.
FUNDING.md

Status: there is no funding channel.  Nothing has been received or paid.  Open Collective, Liberapay and grants such as NLnet are options to compare in public before any decision.

Criticism of these rules is welcome here, especially from anyone who has run a transparent fund for an open-source project.
reikagi (OP)
Newbie
*
Online Online

Activity: 54
Merit: 0


View Profile
November 24, 2026, 06:29:37 PM
Last edit: November 26, 2026, 11:44:04 PM by Welsh
 #45

Finalis Core v2.3.8 released (release page)

A small release for testers. The node is the same as 2.3.7: no resync, data and keys stay.
  • finalis-nodetest: if it cannot download the test schedule, its status line now names the URL and the error instead of quietly showing "no window scheduled yet".
  • Docs and install.sh: the last GitHub links now point to GitLab, where the project lives since November.

How to update (pick the way you installed; please not between 07:40 and 10:30 UTC on 25 Nov, that is test time)

Prebuilt (install.sh):
Code:
curl -fsSL https://gitlab.com/FinalisCore/finalis-core/-/raw/main/scripts/install.sh | bash

Docker:
Code:
docker pull registry.gitlab.com/finaliscore/finalis-core:latest
docker rm -f finalis
docker run -d --name finalis --restart on-failure:5 \
  -p 19540:19540 -p 127.0.0.1:19544:19544 \
  -v finalis-data:/var/lib/finalis \
  registry.gitlab.com/finaliscore/finalis-core:latest

From source:
Code:
cd finalis-core && git pull && FINALIS_NETWORK=testnet SERVICE_NAME=finalis-testnet ./scripts/start.sh

Check (should print "release":"2.3.8"):
Code:
curl -s -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"get_status","params":{}}' http://127.0.0.1:19544/rpc | grep -o '"release":"[^"]*"'

Load ramp on testnet-3, Wednesday 25 November
  • 08:00 UTC: 0.1 tx/s per node, 30 min
  • 09:00 UTC: 0.2 tx/s per node, 30 min
  • 10:00 UTC: 0.4 tx/s per node, 30 min
Each step only runs if the network handled the one before it well. Validators who want to join run finalis-nodetest auto next to their node and send it about 10 testnet FLS. It uses its own throwaway wallet, never touches the validator key, and returns the coins after each step. Setup: nodetest README. Coordination and a stop signal, if needed, on Discord.

I'll post the results here after the test.
Finalis Core testnet-3: network test results (25 Nov 2026)

On Wednesday I ran a shared load test on testnet-3 with finalis-nodetest auto: three 30-minute windows at 08:00, 09:00 and 10:00 UTC, at 0.1, 0.2 and 0.4 transactions per second per wallet.  Anyone running a node could join.

Who took part
  • 9 nodetest wallets, plus many fully confidential transactions that can't be attributed to anyone
  • About 17 nodes on 12 machines: 8 in data centres and 4 on home connections, including one behind carrier-grade NAT

Results
  • About 7,600 transactions finalized across the three windows (about 1,660, 2,690 and 3,230).  The last window peaked well above 1 tx/s across the network.
  • Every accepted transaction finalized.  None got stuck and none were lost, across all types: transparent, shield, unshield, confidential-to-confidential, height locks, inheritance, timed and sealed sends.
  • No stall and no fork.  Finality lag stayed at 0.
  • The block interval held at about 2.9 minutes in every window, no matter the load.
  • Median time to final was about 110 s at 0.1 and 0.2 tx/s, and about 140 s at 0.4. 90% finished within about 190 s.  That's set by the block interval, not by load.

What I learned
At 0.4 tx/s no wallet could keep up.  A test wallet splits its funds into 40 small coins, and each coin is locked until its transaction finalizes, so that step ran at about 0.2 tx/s per wallet.  That's a limit of the test tool, not of the network. I'll raise it before the next test, to find where the network actually reaches its limit.

Thank you to everyone who took part.

Code, releases and the test tool: https://gitlab.com/finaliscore/finalis-core
reikagi (OP)
Newbie
*
Online Online

Activity: 54
Merit: 0


View Profile
November 26, 2026, 08:10:54 PM
 #46

Network test #2 results (2026-11-26)

I ran a second public load test on Finalis testnet today: four 30-minute windows at 0.4 / 0.6 / 0.8 / 1.0 tx/s per wallet, using finalis-nodetest (v2.3.9).  The mix included transparent, confidential, time-locked and inheritance transactions.

Results (network totals per window):

- 0.4 tx/s: 4,227 txs
- 0.6 tx/s: 5,084 txs
- 0.8 tx/s: 5,869 txs
- 1.0 tx/s: 5,660 txs

That's ~20,800 transactions in total and a peak of ~3.2 tx/s. The first test had ~7,600 and peaked at ~1.5. Every transaction finalized, with no stall and no fork, and finality never fell behind. 9 nodetest wallets took part, 7 of them run by testers.

The main finding: at 0.8 and 1.0 tx/s, blocks hit their 1 MiB size limit.  Confidential transactions are ~5.6 KB each because of their range proofs, so with today's mix about 600 transactions fit per block, roughly 3 tx/s at the current block interval.  When blocks were full, transactions waited one more block, and median time to final went from ~2 to ~3 minutes.  The chain behaved as designed under its capacity limit.

I also found and fixed a nodetest bug: reused wallets started each window with too few work coins and ramped up slowly.  The fix goes into the next release.

Thank you to everyone who ran a node or a load wallet. Feedback is welcome here or on Discord.
reikagi (OP)
Newbie
*
Online Online

Activity: 54
Merit: 0


View Profile
Today at 05:54:20 PM
 #47

Finalis Core v2.3.11: the block interval is now enforced, turned on by validator vote

v2.3.11 is out on testnet-3. It is the first upgrade that turns on through signaled activation instead of a flag day. Testnet coins have no value.

Release: https://gitlab.com/FinalisCore/finalis-core/-/releases/v2.3.11

The problem

The 3-minute block interval was a local timer, not a consensus rule. A block was valid if its timestamp was simply later than its parent's. An honest leader waited 3 minutes, but a modified one could propose at once, and the other validators would accept the block. Block height is the clock for time locks, unbonding and emission, so leaders who skip the wait make all of those run early.

I measured it before fixing it: in a 4-validator test network with one modified node, every block that node led was finalized after 0.1-0.2 s instead of 6 s. In a simple model where a third of leader turns go to such nodes, the average block came out at 125.6 s instead of 180 s.

The fix

  • Block rule: a block is valid only if its timestamp is at least 180 s after its parent's. The first block too: it must be dated at least 180 s after genesis. The rule uses only chain data, so every node and every replay gets the same answer.
  • Prevote rule (unchanged): a validator does not prevote for a block dated more than 60 s ahead of its own clock. This stops a leader from proposing early and simply dating the block 3 minutes later.
  • Leaders: a leader dates its block max(own clock, parent + 180 s) and proposes only when that is at most 30 s ahead of its own clock, in timeout rounds too. That leaves 30 s for clock differences between validators.

With the rule, the same model gives 180.3 s per block on average. Blocks may still be slower than 180 s. Nothing changes for transactions, time locks or block formats.

What it does not fix

A leader can still date a block earlier than real time. After a long pause, dishonest leaders in a row could use the lost time to catch up, until the next honest leader dates its block with the current time. Since genesis the chain cannot get ahead of its 3-minute schedule by more than 60 s plus clock error. Refusing old timestamps could stop the chain after a pause, so I accepted this gap and documented its limits.

How it turns on

  • A validator running v2.3.11 signals readiness by itself with an on-chain transaction. Installing is the vote (--no-upgrade-signal opts out).
  • It locks in at an epoch end once at least 2/3 of active operators have signaled and the next committee has a quorum of them. It is active 33 blocks later (about 1.5 to 2 hours).
  • If it does not lock in within 1,440 blocks (about 3 days) of the first signal, it fails, the chain keeps running under the old rule, and a later signal opens a new window.
  • Validators that don't upgrade are not slashed. They get no committee seat until they upgrade and signal.

The last flag day (a fixed-height upgrade) paused testnet-3 for 61 minutes because not enough validators had upgraded in time. Signaled activation checks support first.

Mainnet will have the rule from genesis.

Found along the way

A node started with a custom block interval (local devnets only) passed its own built-in lightserver the default interval. The two then disagreed on the consensus rules, and the node refused its own lightserver: in a test network, 0 of 133 payments went through. Fixed; afterwards 62 of 62 payments were finalized, none lost.

How I checked it
  • A test that failed before the fix now passes: a block dated 179 s after its parent is rejected, 180 s is accepted, in both validation paths.
  • Live signaled activation in a test cluster, using the release's own upgrade table.
  • Chaos runs with the rule on from genesis: 7 nodes, 5 s interval, injected faults, payments and time locks, clocks off by up to 30 s. Three runs, 224-281 blocks each: 0 forks, 0 stalls, 0 blocks under the minimum gap, 1,286 payments with 0 lost, 177 time locks all opened.
  • Earlier runs with activation in the middle of the chain: the same results before and after the switch.
  • The full test suite, AddressSanitizer/UBSan, ThreadSanitizer, clang-tidy and fuzz smoke runs all pass.

Validators, please:

Plan and reasoning: https://gitlab.com/FinalisCore/finalis-core/-/blob/main/docs/reports/BLOCK_INTERVAL_PLAN.md
Questions and criticism welcome here or on Discord.
Pages: « 1 2 [3]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!