Solana 网络于世界标准时刻 2 月 6 日上午 10:22 经历了严峻中止,区块出产暂停了五个多小时,然后验证器从头启动了网络。
这并不是 Solana 第一次宕机。
自 2022 年 1 月以来,Solana 已发生大约六次重大停机和十五天部分或重大停机。
来自整个生态体系的工程师正在查询主网测试版的中止问题。
跟着更多信息的呈现,此线程将被更新 https://t.co/rfeioQ6BG9
— Solana Status (@SolanaStatus) 2024 年 2 月 6 日
这些事件的严峻程度各不相同,从部分网络中止到全部网络中止,其原因包含网络中的软件缝隙以及拒绝服务和资源耗尽攻击。
尸检
Solana 于 2 月 9 日发布了最近一次中止的过后陈述,详细说明晰其原因以及验证器如何从头启动网络。
该陈述显现,Solana 的即时 (JIT) 编译缓存遇到了该过错,该缓存会在执行业务之前编译一切程序。
早些时候,JIT 缓存是运用“ExecutorsCache”完成的,可是,在 v1.16 版本中,ExecutorsCache 被名为“LoadedPrograms”的新完成所替代。
新的加载程序运用存储在程序链上帐户中的会计信息来查找其最近的布置槽,并运用它来核算有效的槽高度。
但是,该加载程序遇到了留传加载程序问题,导致 JIT 缓存遇到旧程序的循环,导致它重复从头编译它们,而不是有效地拜访和执行它们的指令。
这一故障导致网络停滞,由于体系堕入无限循环,无法处理买卖或继续前进。
Solana 战略主管 Austin Federa 告诉 Cointelegraph,有一个用新电机体系替换旧装载机体系的进程,但计划在更新版本中禁用它。
“看起来有人成心调用那个旧指令集,它现已很长时刻没有运用了,但仍然存在于代码库中。
JIT 编译器遇到了无法找到所需内容的问题。
这便是无限循环的原因。”
Solana 工程师很快发现并修正了问题,更新了体系进程,并识别了这些旧程序以避免未来的从头编译周期。
该解决方案需求减少费事的留传加载程序的布置,以保证可以精确有效地拜访一切程序指令,而不会堕入从头编译陷阱。
最新:ZK 证明给开发人员带来了安全挑战
Some critics have said that a significant factor contributing to Solana’s outages is the lack of client diversity, leading to potential central points of failure. Kadan Stadelmann, chief technology officer of open source decentralized exchange platform Komodo, told Cointelegraph that Solana’s developers and validators prioritize shipping code fast over maintaining perfect network uptime, adding:
“The key reason is centralization and lack of validator client options. Solana’s ambition for high throughput and low transaction times puts immense pressure on its infrastructure, making it susceptible to performance degradation and outages.”
However, Federa suggests Solana possesses much more accurate architecture and explains that only two smart contract networks worldwide have independent validator clients: Ethereum and Solana. Currently, Solana has one major validator client built on one functional codebase.
“Solana has never had an outage due to a fault in consensus or something along those lines. The problems have always been implementation details. It’s always been that there’s been a bug somewhere in the implementation layer, which is not better or worse. It’s just an important kind of accuracy,” Austin explained.
The Solana mainnet “beta” saga
The Solana blockchain was launched in March 2020, and over the next four years, the network has made significant strides in the decentralized finance (DeFi) ecosystem. Solana ranks as the fifth-largest DeFi chain in total value locked, with over $1.7 billion in capital allocated to different on-chain protocols. Its native Solana (SOL) token has a market valuation of around $49 billion, making it the fifth-largest cryptocurrency.
Despite a magnificent track record, Solana has never officially come out of its beta phase. The blockchain is still referred to as being in mainnet beta. Beta is a term that refers to nearly finished software that a select group of users is testing before an official launch.
However, the Solana blockchain is open to everyone, with hundreds of decentralized applications utilized to launch various products. The blockchain ecosystem also boasts a vibrant nonfungible token (NFT) ecosystem.
Solana underwent brief private and public beta testing before releasing v1.0 four years ago, and today, the network processes more transactions than most other chains.
Even though the code is still changing, Solana is much beyond what can be considered beta software. The persistent misperception results from a mix-up between pre-launch testing and post-launch software maturity and misconceptions around Solana’s messaging.
Recent: How can crypto firms bridge the gap with traditional finance?
The beta status has attracted much criticism of the blockchain, especially in light of its outages over the past two years. Crypto users on social media have often mocked that Solana’s status as a mainstream blockchain often changes to mainnet beta and back, depending on whether the chain is down.
索拉纳便是个笑话。
时期。
曩昔几个月有多少次泊车?
“这是测试版”不再是借口。
$SOL #Solana pic.twitter.com/IjvRaM58dZ
— 大卫·米勒 ⬡ (@CryptoDavid_) 2022 年 5 月 1 日
Federa 宣称大多数区块链体系现在都处于测试阶段,只有比特币和以太坊可能是完好的主网,并解释道:
“软件体系需求很长时刻才能稳定并完成功能完好,由于重要的新功能仍在 Solana 网络上发布。
我以为我们可能现已挨近测试阶段的完毕。
从技术视点来看,重要的里程碑之一将是推出第二个独立验证器客户端。”
许多 DeFi 支持者以为,Solana 的停机无疑是其成为以太坊竞争对手的障碍。
虽然如此,开发人员仍在努力保证导致曩昔停机的过错不会影响未来的网络。
虽然其停机历史悠久,但其高速度和低成本在招引新项目到该渠道方面发挥着关键作用。
此时快讯
【8支现货比特币ETF昨日增持9901枚BTC,GBTC仅减持921枚BTC】金色财经报道,Lookonchain监测数据显示,2月27日,8支现货比特币ETF增持9901枚BTC(价值约合5.64亿美元),灰度的GBTC仅减持921枚BTC(价值约合5250万美元)。其中:富达增持4460枚BTC(价值约合2.54亿美元);ARK 21Shares增持2394枚BTC(价值约合1.364亿美元);贝莱德增持2051枚BTC(价值约合1.1685亿美元)。