自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

FeelTouch Labs

Best or Nothing!

  • 博客(1226)
  • 资源 (35)
  • 收藏
  • 关注

原创 RTS 与 FreeSWITCH

​登录 GitHub 开拓 RTS 社区是必不可少的一项工作,但有时候由于网络限制或其他原因,我们可能无法直接访问 GitHub。在这篇文档中,将为您提供一种不使用代理的方法来访问 GitHub 网站。

2024-07-23 17:51:28 573

原创 以太坊的可扩展性危机:探索执行层的瓶颈

以太坊执行层承担着交易处理、智能合约执行以及保持一致和安全状态的维护等工作。Fuel Labs 撰文解析了以太坊执行层的工作原理,及其在可扩展性方面的发展瓶颈和影响。当全节点更新其账本副本以反映新的代币转移、智能合约代码更新和数据存储更改时,就会发生状态更改。执行层的主要功能包括:交易处理、智能合约执行以及状态管理。这可能是比单纯优化智能合约更大的障碍。:吞吐量直接指的是网络在给定时间内高效处理和管理大量交易的能力。:延迟是从提交交易到交易被确认并包含在区块链中所经过的时间。

2024-07-23 13:13:49 258

原创 白话解读 ZK 与 TEE:共存而非竞争

ZK 与 TEE:共存而非竞争

2024-07-23 13:11:41 33

原创 RocketMQ 消息的顺序和重复

如果是新的消息,由于MQServer上面还没有创建对应的Topic,这个时候,如果上面的配置打开的话,会返回默认TOPIC的(RocketMQ会在每台broker上面创建名为TBW102的TOPIC)路由信息,然后Producer会选择一台Broker发送消息,选中的broker在存储消息时,发现消息的topic还没有创建,就会自动创建topic。第2条原理就是利用一张日志表来记录已经处理成功的消息的ID,如果新到的消息ID已经在日志表中,那么就不再处理这条消息。消息的中转者,负责存储和转发消息。

2024-07-22 17:07:54 992

原创 kafka vs rocketmq: 不要只顾着吞吐量而忘了延迟这个指标

在大包和批量的场景下,RocketMQ 和 Kafka 目前已经相差无几,此时的瓶颈已经转移到磁盘的吞吐能力上。自从 RocketMQ 进入 Apache 基金会后,团队大力发展社区生态,包括和 Apache Spark,Apache Flink,Apache Storm,Apache Ignite 等顶级开源产品有了更多的生态连接与整合能力。RocketMQ 在低延迟,消息重试与追踪,海量 Topic,多租户,一致性多副本,数据可靠性等问题上进行了大量优化,对电商,金融领域的用户来说,是一大利好。

2024-07-22 01:25:00 243

原创 虫虫老师---义务教育核心课程改革

0~9 岁,是关键时期素质导向 综合育人 实践育人网状知识结构跨学科运用项目式学习发散思维学习的本质是理解理解是工具纪录片。

2024-07-19 20:47:04 31

原创 Http 实现请求body体和响应body体的双向压缩方案

有时请求和响应的body体比较大,需要进行压缩,以减少传输的带宽。

2024-07-03 17:55:04 714

原创 Sekiro原理

Sekiro主要提供的功能是: 受限上下文环境下的功能外放,服务提供者(provider)运行在一个受限环境中,导致这个服务不能作为一个普通的算法方便的转移到内部服务,而此时我们的业务又希望可以使用这种受限环境下的功能。SEKIRO是一个多语言的、分布式、网络拓扑无关的服务发布平台,通过书写各自语言的handler将功能发布到中心API市场,业务系统通过RPC的方式使用远端节点的能力。通常情况下,在后端微服务下RPC框架主要用于拆分复杂业务模块,以及多节点集群提升单机性能瓶颈的能力。

2024-07-01 16:21:14 99

原创 STUN原理

​P2P网络要求通信双方都能主动发起访问,但是NAT设备的存在,却阻断了这种主动访问,导致P2P应用无法正常运行。STUN是一种解决P2P应用NAT穿越问题的常用技术。它允许网络设备找出通信端点经NAT设备后的IP地址和端口号,并利用这些信息在通信双方之间建立一条可以穿越NAT设备的数据通道,实现P2P通信。

2024-06-21 18:20:20 128

原创 MTU 和 MSS 关系、 IP分片、TCP分段

从四层模型:链路层,网络层,传输层,应用层说。

2024-06-19 21:58:55 1032

原创 服务器添加TLS域名证书核子之PKCS编解码

PKCS#1 和 PKCS#8 是两个不同的标准,分别定义了不同的公钥私钥编码和封装格式。PKCS#8 定义了一种通用的私钥信息语法(Private-Key Information Syntax),可以用于描述不同公钥密码算法的私钥信息。PKCS#1 定义了一种用于RSA算法的公钥和私钥的编码格式。使用openssl生成公私钥时,默认时2048位的PKCS#1 ,但是在某些先进的业务中往往需要PKCS#8编码,那么此时需要进行转换。在PKCS#1中,公钥和私钥的编码格式通常是DER编码的ASN.1结构。

2024-06-17 19:21:40 379

原创 HTTP3版本和实现验证

简介: HTTP3协议基于Google的 QUIC 协议,由互联网工程任务组(IETF)来制定。目录还是草案,已经进行到第33版。

2024-06-12 23:19:44 864

原创 QUIC分析、调试和可视化 工具

对于每个连接,Fuzi_q 确定一个加密点,例如“初始消息已被处理”,或“握手已确认”,或“连接正在关闭”。它不是监控单个连接的流量内容或元数据的工具,而且由于大多数连接都是加密的,因此在互联网上这是不可能的。该工具查看传输协议(例如 QUIC Spin Bit)的特性,并尝试获取有关单个连接的往返时间或聚合或平均值的信息。QUIC Tracker 是 IETF-QUIC 的测试套件。但是,如果向 Wireshark 提供解密的跟踪,则如果在“设置”中启用了“强制解密”选项,它将正确解析 GQUIC。

2024-06-04 17:55:26 783

原创 QUIC官方完整参考

IETF QUIC 工作组制定了 QUIC 版本 1 — 一种基于 UDP 的流复用加密传输协议。该协议本身已发布为,还有其他值得注意的相关 RFC,请参见下文我们现在被成为 IETF 中任何与 QUIC 相关的工作的焦点。我们的工作涵盖已发布规范的维护和发展、QUIC 的可部署性以及 QUIC 的新扩展。QUIC 工作组发起了 HTTP/3、HTTP 到 QUIC 的映射以及 QPACK 标头压缩方案。这些现在由维护。即将召开的会议核心规格QUIC 扩展QUIC 可以通过多种方式进行扩展。

2024-06-04 17:49:30 1004

原创 卫星频率和轨道资源综述【附件下载】

卫星频率和轨道资源是全人类共有的、稀缺的战略资源。设置使用移动地球站的,应当使用中华人民共和国工业和信息化部(以下简称“工业和信息化部”)批准的卫星移动通信系统或者卫星移动业务频率,通过工业和信息化部批准的境内关口地球站进行通信,并通过国家批准的在境内经营卫星移动通信业务的服务提供者(以下简称“境内经营者”)办理入网手续。本办法所称卫星移动通信系统终端地球站(以下简称“移动地球站”),是指使用卫星移动业务频率的卫星移动通信系统中民用的船载终端、航空器载终端、车载终端、固定终端、便携式终端和手持机。

2024-05-22 00:38:52 913

原创 QUIC协议全面讲解

QUIC(Quick UDP Internet Connections,快速 UDP 互联网连接)是一种基于 UDP 协议的传输层协议,由 Google 首次提出,并已在 IETF(互联网工程任务组)的标准化过程中得到发展。QUIC 的设计目标是减少网络通信的延迟,提高连接的可靠性,并改善多路复用的性能。QUIC是HTTP/3的基础,在提升 Web 性能方面有显著的作用。

2024-05-07 22:26:04 893

原创 SpaceX的核心Fact Sheet

其中有63次是将Starlink卫星送入轨道,27次是将第三方的卫星送入轨道,另外有5次是为美国政府服务,其中包括3次为国际空间站运输补给品、2次运送机组人员到国际空间站、1次运输X-37B间谍机。SpaceX发射业务最大的客户是美国政府,包括NASA, Space Force, Air Force等,约有21%的发射任务涉及美国政府的载荷,包括国际空间站 (ISS) 补给任务(~9%)和国际空间站机组人员运输(~3%)。随着SpaceX的发射频率越来越高,它还希望能够扩大每次发射运载的有效载荷。

2024-04-24 00:22:10 909

原创 GW星座计划

可以预计未来5到10年,很可能就是卫星互联网的风口,抛开“6G”这个噱头不说,国家已经在2020年将卫星互联网建设列入了“新基建”的范畴,35年长期目标还设定了建立一个“通信、观测和导航为一体的综合网络”计划。”当然每家单位,每个参与的同事,也都在努力奋斗中,先进的技术和合理的应用都是一点一点积累迭代的。G60星座的名称来源于上海市的G60科创走廊,这是一个以高新技术为主导的产业集群,涵盖了上海市和周边八个城市,形成了一个长达300公里的创新带,其中包括了航天信息产业园,这是G60星链的主要生产基地。

2024-04-23 00:21:16 1091

原创 中国两大卫星计划

尽快推动GW星座计划 (即国网星座计划---预计由2021年注册于雄安中国卫星网络集团有限公司主导推出的一项互联网近地轨道卫星计划)和G60星座 (G60低轨卫星互联网计划由上海市政府支持,旨在提供宽带互联网服务)在内的众多低轨卫星互联网星座计划争取早日建成,一方面,在国际上与SpaceX的Starlink竞争。一方面满足国内的应急市场,另一方面对国人和政府更多的国际行动提供安全而可靠的全球通信保障。

2024-04-23 00:02:58 307

原创 Apollo核心原理之眼前一亮

DeferredResult.setResult

2024-04-22 19:27:04 578 1

原创 quit unexpectedly and Cannot open all the JetBrains‘ applications

Exception Type: EXC_CRASH (Code Signature Invalid)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYCrash from the IntelliJ IDEA report looks similar to https://youtrack.jetbrains.com/issue/IDEA-282172Check the be

2024-04-22 11:29:24 272

原创 马斯克推荐过的5本好书

在接受有关该主题的采访时,埃隆表示:“人工智能不一定是邪恶的才能毁灭人类——如果人工智能有一个目标,而人类只是它达成目标的阻碍,那么它会理所当然地毁灭人类,甚至不假思索。帝国的问题在于,它们有一个周期性的生命周期,先是令人难以置信的增长,然后是一个临界点,最后是不可避免的灭亡,正如我们在巴比伦、苏美尔、随后是埃及、罗马和中国所看到的那样。这本书深入探讨了我们是否可以与一个智力使人类相形见绌的实体共存的问题,并为第一个人工智能的整个竞赛添加了一个新的层面“也许我们应该小心这一点”。

2024-04-21 17:40:55 525

原创 星链全解1

八网一体”包括5G+通信卫星网、预警侦察卫星网、指挥控制卫星网、遥感气象卫星网、导航定位卫星网、情报保障卫星网、网电攻击卫星网和监视防护卫星网。根据SpaceX的社交媒体发布,这些升级包括分别在推力、脉冲上提高2.4倍和1.5倍的氩霍尔推进器、改装的相控阵天线以及E波段通信载荷,通信容量几乎是第一代星的4倍。流星体只含有很少量的铝,约1%。在天基C4KISR作战体系的推动下,低轨小卫星、泛在自主和人工智能等新型科技快速成长,可能改变战争的性质、形态,提供更加丰富和灵活的军事航天运用,引发新一轮军事变革。

2024-04-21 17:24:40 1039

原创 GoLang核心知识点

很多时候我们的一个Struct不止具有一个功能,比如我们需要JSON的互转、还需要BSON以及ORM解析的互转,所以一个字段可能对应多个不同的Tag,以便满足不同的功能场景。Struct Tag可以提供字符串到Struct的映射能力,以便我们作转换,除此之外,还可以作为字段的元数据的配置,提供我们需要的配置,比如生成Swagger文档等。通过反射,我们可以获取一个结构体类型的字段,也可以获取一个类型的导出方法,这样我们就可以在运行时了解一个类型的结构,这是一个非常强大的功能。可以通过反射获取字段的tag。

2024-04-17 17:22:22 796

原创 Kafka硬核干货

为了弥补性能差距,现代操作系统积极的使用主内存进行磁盘缓存,以便在访问磁盘时不进行直接I/O 同时,即使进程维护了数据缓存,数据也很可能在PageCache中重复,这会导致数据缓存两次 此外,Kafka构建在JVM之上。Kafka官网数据 在 具有 6 * 7200rpm SATA RAID-5阵列的JBOD配置上,线性写入的性能约为600MB / sec,但随机写入的性能仅为100k / sec,相差超过6000倍。Broker :Kafka 集群包含一个或多个服务器,这种服务器被称为 broker。

2024-03-28 01:22:20 1175

转载 一篇搞定!10分钟说透Saga分布式事务

这里对Saga进行一个总结,首先Saga是针对分布式长活事务的解决方案,针对事务长、多、复杂的情况,特别是服务由多个公司开发具有不可控性,可以使用Saga模式进行分布式事务的处理。Saga在处理事务一致性方面采取了向前恢复和向后恢复策略,前者通过不断重试的方式保证事务完成,而后者通过子事务的补偿事务,逐一回滚的方式让事务标记失败。在分布式协调方面,Saga采用了两种模式:编排和控制。前者让参与者(服务)之间通过消息进行沟通,根据事件出发事务的执行流程,是一种去中心化的模式。

2024-03-24 22:03:28 1061

转载 利用GPT4等进行大模型自动打分是否靠谱:3种评价方法、4大缺陷及4大应对方案工作解读

本文对文章《Judging LLM-as-a-judge with MT-Bench and Chatbot Arena》进行了介绍,该工作研究了LLM作为评委的用法和局限性,比如位置和言语偏差以及有限的推理能力,并提出了迁移其中一些的解决方案,这些都是可以令人深思的。

2024-03-22 00:56:21 2017

原创 Twitter 爬取Media图片、视频和封面涉及到的关键Graph SQL应用分析

核心需要解析出 extended_entities -> media -> media_url_https 和 variants。

2024-03-11 19:22:50 164

原创 Layer1 区块链MASSA开发用到的Rust库--MAINNET 2.1.0

massa-node git:(bc7426f22d) ✗ RUST_BACKTRACE=full cargo run --release -- -p 123 Compiling proc-macro2 v1.0.71 Compiling unicode-ident v1.0.12 Compiling libc v0.2.151 Compiling cfg-if v1.0.0 Compiling autocfg v1.1.0 Compiling version_check

2024-03-11 11:40:34 967

原创 VScode 单步断点调试Nodejs方法总结

使用vscode开发nodejs程序,能够启动单步调试模式

2024-02-29 12:40:14 1259 2

转载 《Redis核心技术与实战》学习总结(18)之使用规范

因此,建议将不同的业务数据放到不同的Redis实例,避免单实例的内存使用量过大。在实际应用 Redis 时,我们会更多地把它作为缓存保存热数据,这样既可以充分利用 Redis 的高性能特性,还可以把宝贵的内存资源用在服务热数据上,就是俗话说的“好钢用在刀刃上”。对于业务名或业务数据名,可以使用相应的英文单词的首字母表示,或者用缩写表示,减少key占用的内存空间。:按照键值对的 key 内容进行匹配,返回符合匹配条件的键值对,该命令需要对 Redis 的全局哈希表进行全表扫描,严重阻塞 Redis 主线程;

2024-02-20 17:54:50 94 1

转载 《Redis核心技术与实战》学习总结(17)之多线程

所谓区分编码,就是指直接通过不同的开头字符,区分不同的数据类型,这样一来,客户端就可以直接通过判断传递消息的开头字符,来实现数据转换操作了,提升了客户端的效率。Redis 6.0之前使用的 RESP 2 协议,客户端和服务器端的通信内容都是以字节数组形式进行编码的,客户端需要根据操作的命令或是数据类型自行对传输的数据进行解码,增加了客户端开发复杂度。Redis 6.0 是推出不久的,新的功能特性还需要在实际应用中进行部署和验证,所以,如果我们想试用 Redis 6.0,

2024-02-20 17:48:22 92

转载 《Redis核心技术与实战》学习总结(16)之集群方案

Codis集群保证高可靠性的架构:配置了 server group 的 Codis 集群架构,在 Codis 集群中,通过部署 server group 和哨兵集群,实现 codis server 的主从切换,提升集群可靠性。对于 codis dashboard 和 codis fe 来说,它们主要提供配置管理和管理员手工操作,负载压力不大,所以,它们的可靠性可以不用额外进行保证了。本文总结了Redis集群的两种方案:Codis 和 Redis Cluster 的基础内容,希望对你有帮助。

2024-02-20 17:44:46 76

转载 《Redis核心技术与实战》学习总结(15)之秒杀场景

这样可以将获取分布式锁 和 查询商品库存 的请求压力分摊开来,减轻保存库存信息的Redis实例的压力。此外,也建议不要将秒杀商品的库存信息和日常系统的数据保存在同一个Redis实例,避免干扰业务系统的正常运行。本文总结了Redis支撑秒杀场景的关键技术:原子操作 和 分布式锁 的具体应用,但是需要注意,对于秒杀,只有Redis是不够的,秒杀系统是一个系统性的工程,需要考虑各个环节的设计。在Redis中的应用场景,秒杀场景是一个经典的应用场景,相信大家或多或少都在使用Redis支撑不同量级的秒杀应用。

2024-02-20 17:41:19 74

转载 《Redis核心技术与实战》学习总结(14)之分布式锁保证原子性

对于分布式锁,我们需要考虑场景需要来做权衡,偏重于效率,我们可以使用单Redis实例来实现,而如果偏重于正确性,我们可以使用Redlock方案。客户端需要计算的是 锁的最初有效时间 减去 获取锁的总耗时,如果锁的有效时间已经来不及完成数据的操作了,这时就需要释放锁了,避免出现还没完成数据操作,锁就过期了的情况。在Redis 6.0之前,Redis是使用单线程串行处理请求操作的,当 Redis 执行某个命令操作时,其他命令是无法执行的,这相当于命令操作是互斥执行的。命令格式:SET + Lua脚本组合;

2024-02-20 17:39:37 145

转载 《Redis核心技术与实战》学习总结(13)之性能分析

问题原因:Redis使用内存大页,优点是在分配相同的内存量时可以减少分配次数,而缺点是在RDB持久化时为了继续接收客户端写请求会采取“写时复制”机制,采用内存大页会在客户端请求只修改较小数据(比如:100KB)的时候仍然需要拷贝2MB的大页,当大量的大页拷贝发生时,就会导致性能变慢。背景介绍:内存 swap 是操作系统里将内存数据在内存和磁盘间来回换入和换出的机制,涉及到磁盘的读写,所以,一旦触发 swap,无论是被换入数据的进程,还是被换出数据的进程,其性能都会受到慢速磁盘读写的影响。

2024-02-20 17:34:15 65

转载 《Redis核心技术与实战》学习总结(12)之淘汰策略

当需要再次淘汰时,Redis会再挑选一些lru字段比候选集合中最小lru字段还要小的键值对,将它们放入候选集,如果候选集的数据的个数达到了 maxmemory-sample 配置的个数,Redis就开始将lru字段值最小的数据淘汰(lru字段最小的可能不止一个)。在实际业务应用中,LRU 和 LFU 两个策略都有应用。然后,在需要选择淘汰的数据时,Redis首先会随机选择N个数据将它们作为一个候选集合,然后比较他们的lru字段,将lru字段最小的数据淘汰掉(lru字段最小的可能不止一个)。

2024-02-20 17:16:28 79

转载 《Redis核心技术与实战》学习总结(11)之读写一致性问题

下图展示了一个包含10个bit位的数字,使用3个哈希函数的布隆过滤器,当标记数据X时,首先会经历3次哈希计算,然后将哈希结果对应的bit位标记为1,代表假设数据X已经在数据库了。这时,如果后续应用想要查询数据X时,只需要查看对应的3个bit位是否都为1,是则允许继续查询,不是的话,就代表X不在数据库中。问题定义:缓存穿透是指要访问的数据既不在 Redis 缓存中,也不在数据库中,导致请求在访问缓存时,发生缓存缺失,再去访问数据库时,发现数据库中也没有要访问的数据。(例如使用 Kafka 消息队列)。

2024-02-20 16:31:13 92

转载 《Redis核心技术与实战》学习总结(10)之消息队列

最后,对于需求3-消息可靠性保证,List本身在读取一条消息后就不会再留存这条消息了,所以为了留存消息,List提供了BRPOPLPUSH命令,即让消费者程序从一个List中读取消息,同时再把这个消息插入到另一个List(可以理解为备份List)留存。此外,使用消费组的目的是让组内的多个消费者共同分担读取消息,所以,我们通常会让每个消费者读取部分消息,从而实现消息读取负载在多个消费者间是均衡分布的,比如我们可以使用count N命令来让各个消费者各自读取N条消息。

2024-02-20 16:24:16 86

转载 《Redis核心技术与实战》学习总结(9)之集合使用场景

例如,在统计 1 亿个用户连续 10 天的签到情况时,可以把每天的日期作为 key,每个 key 对应一个 1 亿位的 Bitmap,每一个 bit 对应一个用户当天的签到情况。最后,我们可以用 BITCOUNT 统计下 Bitmap 中的 1 的个数,这就是连续签到 10 天的用户总数了。Sorted Set 元素的权重分数是一个浮点数(float 类型),而一组经纬度包含的是经度和纬度两个值,是没法直接保存为一个浮点数的,因此需要进行GeoHash编码,将经纬度各自的编码组合成一个最终编码。

2024-02-20 16:05:25 64

Web3+Decentralized+去中心化+存储

Storage parameter flexibility • Storage permanence • Redundancy persistence • Data transmission incentivization • Universality of storage tracking Filecoin’s tokenomics support growing the total network’s storage space. Crust’s tokenomics ensure hyper-redundancy with fast retrieval speeds. Sia is all about privacy Arweave is all about permanence Storj’s business model seems to heavily factor in their billing and payment approach. Swarm’s bonding curve model

2024-04-30

Chainbase+Web3+APi+Data warehouse

1.Chain API Service:提供安全稳定的多链节点 JSONRPC 集群⽀持,轻松访问多链⽹络 2.Web3 API Service:⽀持多种协议索引,快速⽀持业务应⽤场景(如Token、NFT、DeFi、Domain...)数据查询 3.All-In-One Dashboard:通过⼀站式控制台完成创建、调试、监控和运维 Web3 应⽤程序

2024-04-30

Graph+Web3+检索

1.Substreams 是 The Graph Network 的数据服务世界中即将推出的服务之一,它允许您以毫秒级的延迟查询 Solana 历史数据和实时数据。 2.The Graph 是 Web3 的核心开发者工具及中间件,作为去中心化网络的索引查询层,对区块链数据进行结构化和分类,使用户可以轻松高效地对其进行检索。

2024-04-30

Web3+Nostr+区块链+去中心化+Relay+抗审查

1.Notes and Other Stuff Transmitted by Relays 2.由“中继器”传输的“笔记”和“其它东西 3.不依赖于任何可信任(trusted)的中心化服务器,因此具有“韧性/可迅 速恢复性”(resilient) 4.基于公钥密码学的“密钥和签名”原理,所以它防篡改 5.不需要依赖P2P技术就能运行

2024-04-30

GO 中 Chan 实现原理分享

本文聚焦: 1.chan是什么 2.chan的底层数据结构 3.chan的读写基本流程 4.与sync的区别

2024-01-29

storj dcs video use case

Video Storage & Streaming

2023-12-25

Aurora - 去中心化的以太坊 Layer2

Aurora is a L2 Network

2023-12-25

闪电贷的攻防和智能合约审计

闪电贷和闪电兑,以及智能合约的安全防范

2023-12-25

Poly Network 技术架构

To build the next generation internet

2023-12-24

VISION FOR A HETEROGENEOUS MULTI-CHAIN FRAMEWORK DRAFT

Present-day blockchain architectures all suffer from a number of issues not least practical means of extensibility and scalability. We believe this stems from tying two very important parts of the consensus architecture, namely canonicality and validity, too closely together. This paper introduces an architecture, the heterogeneous multi-chain, which fundamentally sets the two apart.

2023-12-24

Security audit report for imtoken wallet

This security audit is a requested service authorized by the client. The service is mainly about application penetration testing which helps to find the vulnerabilities and threats of the target. All the penetration testing items are done by simulating the real world malicious attacks against the target, which mimics human hackers’ activities by manual penetration testing with automated tools.

2023-12-24

Decentraland is a blockchain-based virtual world

Decentraland is a virtual reality platform powered by the Ethereum blockchain. Users can create, experience, and monetize content and applications. Land in Decentraland is permanently owned by the community, giving them full control over their creations. Users claim ownership of virtual land on a blockchain-based ledger of parcels. Landowners control what content is published to their portion of land, which is identified by a set of cartesian coordinates (x,y). Contents can range from static 3D

2023-12-24

The Bitcoin Standard

The Bitcoin Standard Bitcoin的表演

2023-12-24

力场的定位是一个以公链共建挖矿为核心的社区平台以及UGC平台

力场的定位是一个以公链共建挖矿为核心的社区平台以及 UGC(用户生成贡 献)平台。力场的愿景是成为公链生态第一社区,无力场,不公链。 力场的使命是赋能公链生态,以(贡献)行为挖矿为切入点,形成公链、KOL、 用户、Dapp 共生、共建、共利的区块链用户社区。

2023-12-24

A Novel Metastable Consensus Protocol Family for Cryptocurrencie

This paper introduces a new family of leaderless Byzantine fault tolerance protocols, built on a metastable mechanism. These protocols provide a strong probabilistic safety guarantee in the presence of Byzantine adversaries, while their concurrent nature enables them to achieve high throughput and scalability.

2023-12-24

Measuring Ethereum Network Peers

Ethereum, the second-largest cryptocurrency valued at a peak of $138 billion in 2018, is a decentralized, Turing-complete computing platform. Although the stability and security of Ethereum—and blockchain systems in general—have been widely-studied, most analysis has focused on application level features of these systems such as cryptographic mining challenges, smart contract semantics, or block mining operators.

2023-12-24

Firework Games White Paper

Firework Games will be the most advanced and forward-looking blockchain game platform. Our vision is to provide an open and inclusive diverse game world based on the pure blockchain technology, which will change the game industry in modern society. Everyone is freely allowed to create, to play and to enjoy his own role in the parallel world.

2023-12-24

CS251 Final Exam 2021

You may use any (non-human) resource to answer the questions. You may not collaborate with others.

2023-12-24

Generic Construction of Ring Signatures with Efficient

We introduce a novel generic ring signature construction, called DualRing, which can be built from several canonical identification schemes (such as Schnorr identification).DualRing differs from the classical ring signatures by its formation of two rings: a ring of commitments and a ring of challenges. It has a structural difference from the common ring signature approaches based on accumulators or zero-knowledge proofs of the signer index.

2023-12-24

The Gridex Protocol

The Gridex Protocol is a permissionless and non-custodial trading protocol consisting of a set of persistent, non-upgradable smart contracts on the Ethereum blockchain. Unlike the current mainstream decentralized exchanges based on the Automated Market Maker (AMM) model, Gridex is based on order books. With our novel Grid Maker Order Book (GMOB) model, we have significantly reduced the resource consumption of running an order book based system, allowing us to deploy and run it on the Ethereum.

2023-12-24

Efficient Zero-Knowledge Arguments for Arithmetic Circuits

We provide a zero-knowledge argument for arithmetic circuit satisfiability with a communication complexity that grows logarithmically in the size of the circuit. The round complexity is also logarithmic and for an arithmetic circuit with fan-in 2 gates the computation of the prover and verifier is linear in the size of the circuit. The soundness of our argument relies solely on the well-established discrete logarithm assumption in prime order groups.

2023-12-24

KishuInu Whitepaper

$KISHU is an ERC20 token which started on the Ethereum blockchain April 17, 2021. The max supply is 100 quadrillion and one of its key functionalities is its decentralized usage rewards mechanism. For every active user transaction a 2% $KISHU reward is granted to holders’ decentralized wallets only, fostering a healthy distrubuted network and community usage. The more $KISHU is actively used, the more rewards are granted!

2023-12-24

On the Instability of Bitcoin Without the Block Reward

Bitcoin provides two incentives for miners: block rewards and transaction fees. The former accounts for the vast majority of miner revenues at the beginning of the system, but it is expected to transition to the latter as the block rewards dwindle. There has been an implicit belief that whether miners are paid by block rewards or transaction fees does not affect the security of the block chain.

2023-12-24

Shorter Proofs for Privacy-Enhanced Distributed Ledger

We present a new short zero-knowledge argument for the range proof and the arithmetic circuits without a trusted setup. In particular, the proof size of our protocol is the shortest of the category of proof systems with a trustless setup. More concretely, when proving a committed value is a positive integer less than 64 bits, except for negligible error in the 128-bit security parameter, the proof size is 576 byte long, which is of 85.7% size of the previous shortest one due to Bunzetal.

2023-12-24

Attacking Threshold Wallets

Threshold wallets leverage threshold signature schemes (TSS) to distribute signing rights across multiple parties when issuing blockchain transactions. These provide greater assurance against insider fraud, and are sometimes seen as an alternative to methods using a trusted execution environment to issue the signature. This new class of applications motivated researchers to discover better protocols, entrepreneurs to create start-up companies, and large organizations to deploy TSS-based.

2023-12-23

This paper provides an architectural overview of the Avalanche

Avalanche is a high-performance, scalable, customizable, and secure blockchain platform. It targets three broad use cases: 15 – Building application-specific blockchains, spanning permissioned (private) and permissionless (public) deployments. – Building and launching highly scalable and decentralized applications (Dapps). – Building arbitrarily complex digital assets with custom rules, covenants, and riders (smart assets).

2023-12-23

Avalanche Native Token ($AVAX) Dynamics

This paper discusses the key implementation details, in particular the token economics (tokenomics), of the native token of the Avalanche platform, called 5 $AVAX. The native token secures the network, pays for fees, and provides the basic unit of account between the multiple blockchains deployed on the larger Avalanche network. For additional details on Avalanche, which serves as a versatile and universal platform, allowing anyone to launch new blockchains with their own rules, virtual machine

2023-12-23

ZKSwap是一个基于 ZK-Rollup 的 Layer2 代币Swap协议

是一种基于 ZK-Rollup 技术的 Layer-2 AMM 去中心化交易协议 ZKSwap,在 Layer-2 上实现了 uniswap 的所有功能,在保证去中心化交易的核心 价值的同时,实现实时交易,把 Uniswap 的 TPS(每秒可以处理的交易数量) 提升了多个数量级,同时交易的过程几乎不需要消耗任何 Gas 费用。 ZKSwap 系统由链上智能合约,链下 ZKSwap Server,零知识证明系统和前端 用户界面组成。

2023-12-23

ZEND White Paper

You agree that you are acquiring ZEND to participate in zkLend and to obtain services on the ecosystem thereon. The Company, the Distributor and their respective affiliates would develop and contribute to the underlying source code for zkLend. The Company is acting solely as an arms’ length third party in relation to the ZEND distribution, and not in the capacity as a financial advisor or fiduciary of any person with regard to the distribution of ZEND.

2023-12-23

KZen Curv Security Audit

KZen Curv is a library written in Rust providing low-level elliptic curve cryptography functionalities (ECC), as well as higher-level protocols such as key-exchange, secret sharing, zero-knowledge, and multi-party computation. KZen Curv 是一个用 Rust 编写的库,提供低级椭圆曲线加密 功能 (ECC) 以及更高级别的协议,例如密钥交换、秘密 共享、零知识、多方计算。

2023-12-23

为什么虚拟资产值得投资:元宇宙虚拟地产报告

本篇报告回顾了2021年Metaverse虚拟地产商生态的发展,并讨论了与之相关的主要市场趋势。这些趋势包括:主流传统玩家的入场;Metaverse技术的商业应用(包括游戏和应用);以及非同质化代币NFT对于整个整体元宇宙的影响。

2023-10-27

元宇宙:未来数字绿洲入口已打开

元宇宙是与现实世界高度互通的虚拟世界,具有同步和拟真、开源和创 造、永续、闭环经济系统四大核心属性。元宇宙的兴起将伴随着 AR/VR、 云计算、AI、5G 等技术的进化,人类对虚拟世界的构建和发展将造就互 联网的终极形态——METAVERSE。随着 ROBLOX 上市受到追捧,元宇宙 正从概念走向现实,国内对标公司或如雨后春笋般出现,产业链发展值 得重视。

2023-10-27

Code Assessment of Liquidations 2.0 Smart Contracts

First and foremost we would like to thank the Maker Foundation for giving us the opportunity to assess the current state of their Liquidations 2.0 system. This document outlines the findings, limitations, and methodology of our assessment. Initially, our code assessment resulted in a number of findings regarding security and correctness. After the submission of the intermediate reports all findings have been resolved. These have been marked accordingly and can be found in the Resolved Findings s

2023-10-27

Scalable and Probabilistic Leaderless BFT Consensus through Meta

This paper introduces a family of leaderless Byzantine fault tolerance protocols, built around a metastable mechanism via network subsampling. These protocols provide a strong probabilistic safety guarantee in the presence of Byzantine adversaries while their concurrent and leaderless nature enables them to achieve high throughput and scalability. Unlike blockchains that rely on proof-of-work, they are quiesce

2023-10-27

Groth16: a pairing-based (preprocessing) SNARK for arithmetic

Non-interactive arguments enable a prover to convince a verifier that a statement is true. Recently there has been a lot of progress both in theory and practice on constructing highly efficient non-interactive arguments with small size and low verifi- cation complexity, so-called succinct non-interactive arguments (SNARGs) and succinct non-interactive arguments of knowledge (SNARKs). Many constructions of SNARGs rely on pairing-based

2023-10-27

The offer-is-code approach to Decentralised Exchanges

This paper introduces a novel and quite general approach to trading which we term “offer-is-code”. We demonstrate the idea by building around it the Mangrove protocol, a decentralised spot market. Mangrove offers are sorted in an order book. Each offer contains a callback address which the matching engine calls when the offer is effectively matched. Incentives are set to make sure that offers are not empty promises.

2023-10-27

A Classification Framework for Stablecoin Designs

In this paper, we systematically discuss general design, decompose existing stablecoins into various component design elements, explore their strengths and drawbacks, and identify future directions. Stablecoins promise to bridge fiat currencies with the world of cryptocurrencies. They provide a way for users to take advantage of the benefits of digital currencies, such as ability to transfer assets over the internet, provide assurance on minting schedules and scarcity。

2023-10-27

EIP-1559 proposal

EIP-1559 is a proposal to make several tightly coupled additions to Ethereum’s transaction fee mechanism, including variable-size blocks and a burned base fee that rises and falls with demand. This report assesses the game-theoretic strengths and weaknesses of the proposal and explores some alternative designs.

2023-10-27

Unipass 区块链实现发送红包的技术分析

1.底层技术支撑 2.Subtle Crypto 和 WebAuthn 3.DKIM

2023-10-24

区块链黑暗森林全面自救手册

囊括了区块链安全指导的方方面面,从创建钱包、备份钱包、使用钱包、传统隐私保护、人性安全、作恶方式、被盗止损等方面进行了全面讲解。

2023-10-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除