The ZF team is super thrilled to announce that Zebra was ready & running before NU5 test net activation. It successfully validated the NU5 activation block & started verifying v5 transactions. This is the first Zcash network upgrade where Zebra instances fully participated in network upgrade activation, sharing blocks and transactions with other network nodes.
Zebra is validating most of the Zcash consensus rules
Zebra is validating some of the NU5 consensus rules
Zebra is fully participating in the Zcash network protocol
Zebra will be validating all the NU5 consensus rules before activation on mainnet
Stay tuned for more updates on Zebra as the ZF engineering team continues pushing this project forward.
18 Likes
tromer
October 7, 2021, 5:23pm
2
That’s a big milestone indeed!
So if I now connect to Zcash testnet…
On the Zcash node network, nobody knows you’re a zebra.
(With apologies to Peter Steiner ).
15 Likes
teor
October 7, 2021, 9:39pm
3
This is actually kind of ironic, because Zebra isn’t appearing in some seeders and blockchain explorers. And we’re not quite sure why.
We think it’s because our network protocol stack doesn’t quite meet their (undocumented) expectations:
opened 11:04AM - 15 Mar 21 UTC
closed 12:52AM - 23 Aug 22 UTC
C-bug
A-rust
S-needs-investigation
P-Medium
I-slow
I-integration-fail
I-usability
## Motivation
In #1844, we deployed a few `zcashd` instances on testnet, to m… ake Zebra's testnet tests more reliable. But those nodes aren't showing up in the ECC's or the Foundation's DNS seeders.
As far as we can tell, the nodes are configured correctly, they are synced to tip, their listener ports are open, and they are advertising their external IPv4 addresses. But they don't show up in the DNS of either seeder implementation.
Also, Zebra nodes don't show up in some other DNS seeders or blockchain explorers.
## Known Zebra Issues
### Bugs to fix
- [x] #4875
### Things to investigate
- [ ] Try pointing a seeder at a long-lived Zebra instance https://github.com/ZcashFoundation/zebra/pull/4870#issuecomment-1204593184
- [ ] `zcashd` seems to ignore peers from `zebrad`: https://github.com/zcash/zcash/issues/3881#issuecomment-1140146874
Other Protocol Mismatches:
- [ ] `version.addr_from` is typically dummy bytes, but Zebra sends the actual details: https://en.bitcoin.it/wiki/Protocol_documentation#version
### List of Block Explorers
Some block explorers show up to 250 nodes.
There are about 150-200 nodes on mainnet that Zebra instances will connect to.
(Recent Zebra versions are limited to 75 outbound and 50 inbound connections, but this is configurable.)
Zebra might connect to fewer nodes because it has strict latency limits.
#### Zebra Nodes
This block explorer shows about 65 nodes, but it includes Zebra:
* https://explorer.zecmate.com/network
#### No Zebra Nodes
This block explorer shows about 250 nodes:
* https://blockchair.com/zcash/nodes (click "Load More" to see all user agents)
These block explorers show connected nodes only:
* https://zcashblockexplorer.com/nodes
Currently down:
* https://explorer.testnet.z.cash/
### Completed
Make Zebra have long-term connections to peers:
- #3120
DNS seeder bugs:
- [x] work out why some DNS seeders return peers with outdated network protocol versions
- this is a bug in the Foundation's DNS seeder: https://github.com/ZcashFoundation/dnsseeder/issues/10
Metrics:
- [x] #2871
### Optional
We could investigate why DNS seeders ignore `zebrad` nodes:
<details>
Infrastructure:
- [ ] try running `zcashd` on a different network, to see if Google is blocking cryptocurrency traffic
- [ ] try to run a Zebra node with the initial testnet addresses set to some of those `zcashd` nodes, to make sure they respond to requests correctly
Code Review:
- [ ] check the `zcashd` version of our nodes, and the versions accepted by the DNS seeders
</details>
But it should be easy to fix.
8 Likes
artkor
October 8, 2021, 4:35am
4
Hello!
When I was looking for information about Zebra, I came across the news of 2019, that Parity released Zebra: Zebra, the New Consensus-Compatible Zcash Node Client - zcash foundation
What happened next? It was false start or some errors were found?
1 Like
I can’t remember for sure but I think that they were unable to build it out, was a while ago now
1 Like
For more information you could start with this blog post, specifically the section “ A new architecture for Zebra” -
At the beginning of this year, executive director Josh Cincinnati set goals for the Zcash Foundation, “with a renewed energy toward redistributing centers of unilateral power in the Zcash ecosystem.” At the time, Josh was actively recruiting for...
Est. reading time: 10 minutes
& a follow up post on this topic here -
In the Foundation’s engineering roadmap for 2020, we overviewed our plans for Zebra, our Rust implementation of Zcash. Announced last summer at Zcon1, Zebra aims to support the core strength of Zcash – its best-in-class cryptography – by...
Est. reading time: 10 minutes
7 Likes
artkor
October 8, 2021, 7:05pm
7
Thanks! This is exactly what I was looking for!
2 Likes