B.F.M. UNITY
4.0.0(损坏,仅用于备份)
4.0.0(损坏,仅用于备份)
  • 💎BF​M Unity : A Brief Fantasy of Multiverse
  • 旧版主页
  • BFM Lite | 比坊梦轻量版
    • 🌱新人必看(🔥)
    • 驾驶舱 (运行) (🔥)
    • BFM Navigation
    • Main Bridge (Navigator)
  • BFM Unity | 比坊梦联合体
    • 陈列室 (历程)
      • 虚拟资产编号名录
    • 新人指导
      • 【管理】宪章说明
      • 【选择】学区房 or 比特币
    • 【运营】加入组建
      • 群公告备份
    • 【组织】团队构成
  • AntBot - 灭蚁行动
    • AntBot 在 Binance 盗币事件维权
    • AntBot stealing customers' cryptocurrency on Binance (Rights protection)
    • AntBot 相关信息汇总
  • 🦣BFM Eco. | 比坊梦区块生态
    • BFM Eco. 🛰️
    • Cross-Chain Bridge
    • BNB - BSC
    • ETH - MainNet
      • Layer-2
        • MATIC - Polygon
        • Arbitrum
        • OP - Optimism
      • SHIB - Shiba Inu
    • ADA - Cardano
    • DOT - Polkadot
    • AVAX - Avalanche
    • ATOM - Cosmos
      • ☠️LUNA - Terra(已亡)
    • Near
    • 其他公链
      • SOL - Solana
      • FTM - Fantom
      • ALGO
      • Flow
      • IPFS/FIL
    • BFM Meta
      • BFM DeFi 🦄️👻
      • BFM NFT🃏🧩
      • BFM Meme 🐶 💩
      • BFM GameFi 🎮👾
      • BFM Game Engine
  • BFM DA | 比坊梦数产
    • BFM Trading Strategy♟
    • BFM Unity Reserve System
    • BFM Foundation
      • 比坊梦全球互联网 基金
      • 若尘的基金
    • 币种选择
    • BFM 评级
    • 影银行 (枢纽)
      • 自营业务
      • 个人业务
      • 企业业务
      • 创世业务
    • 会客厅 (赞助) 💰 & 资产公示
    • 财务
  • BFM DS|比坊梦数据支持
    • 数据源
      • 链上数据分析
    • 数据对接
      • CryptoSheets
      • Artemis Sheets
    • 策略制定 🕙 ⌚️(🔥)
      • 时间校准研究
      • 战略资产配置——卓尔金历 🕙
        • 卓尔金升级1——拟合函数
        • 卓尔金升级2——误差分析
        • 卓尔金升级3——智能实验
        • 卓尔金升级4——图灵完备
        • 卓尔金升级5——动态图表
        • 卓尔金升级6——分类网络
        • 卓尔金升级7——引力透镜
        • 卓尔金升级8——货币政策
        • 卓尔金升级9——杠杆控制
        • 卓尔金升级A1——市占幂修
        • 卓尔金升级A2——参数读取
        • 卓尔金升级A3——止损熔断
        • 卓尔金升级A4——最大回撤
        • 卓尔金升级A5——波动率止损
        • 卓尔金升级A6——安全带
        • 卓尔金升级A7——在线图表
        • 卓尔金升级A8——商业化
        • 卓尔金升级A9——下拉菜单
        • 卓尔金升级A10——xlwings与Python连接
        • 卓尔金升级A11——KDE核密度估计
        • 卓尔金升级A12——杠杆风险控制,凯利准则
        • Plotly-制作数据仪表盘
        • 如何获取数字货币数据
        • 卓尔金历法旧版页面
      • 战术资产配置——哈布历⌚️
        • 哈布历法1层次
        • 哈布历法2层次
        • 哈布历法3——仓位单元,量子调仓
        • 已废弃
    • 数据分析
    • 数据展示
  • BFM OL|比坊梦障碍解除
    • SS/V2Ray 科学上网 ✈️
    • 华谷套件(Google Play商店)
    • 直下安卓软件网站
    • 信用卡与POS
    • Cloud-POS,CNP 💳
    • International Phone Number
    • International Bank Card
    • 虚拟信用卡
    • 护照办理
    • 美国税号ITIN
    • 美国社会安全号码SSN
    • 地址证明
    • 跨境收付
    • 离岸实体|Offshore Entity
  • BFM BM|比坊梦区块基础
    • “在座的各位”总集篇
      • 讲师阵容
      • 介绍在座的各位
      • 问候在座的各位
      • 评价在座的各位
    • 《精通比特币》《精通以太坊》
    • 区块链安全
    • 区块链算法
    • 区块链要素理论
    • 区块链分类与层次
    • 区块链评级
    • 私钥
    • 私钥云保管 🔑 ☁️
    • 钱包
    • 交易所
    • 实体挖矿(POW)
    • 质押挖矿(POS)
    • 云算力
    • 桥接性钱包&加密银行卡
    • 礼品卡&场外交易
  • BFM AI|比坊梦智能
    • AI Blockchain Token
    • 数据智能分析部
      • LV6-星魔方 (分类) 🎲
        • 数据分析-精炼
        • 数据分析-实验
        • 人工智能-实验
    • AIGC
      • 文章论文生成器
      • 绘画生成器
      • AI 导航网站
  • BFM Trad. | 比坊梦传统金融
    • 国家债务管理部
    • Financial Data
    • FOReign EXchange
    • Stock Investment
      • 选股
    • Fund Investment
      • 金融
      • 地产
      • 白酒
      • 医药
      • 互联网
      • 新能源
    • Gold investment
    • 国债逆回购
    • 可转债打新
    • Offshore Finance 🌍
    • 草稿
  • BFM R-Ins. | 比坊梦科学研究院
    • 仿生金融部
    • 哲学研究部
      • 词语
      • 话语
    • 社会科学部
    • 精神分析部
    • 精神危害🧪🔬精神湮灭实验室
    • 数学研究部
    • 信息科学部
    • 算法科学部
      • 【算法】算法描述
        • 【研究】参考文献
        • BFM 维基百科翻译
        • 陵墓
    • 组织架构部
    • 项目流程部
      • 【软件】行动手册 🚩
      • 【软件】其他代码
      • 【软件】Graph algorithms and currency arbitrage
      • 【创新】未来发展
      • 【创新】DeFi - AMM
    • 项目架构部
      • 【架构】架构设计
        • 【规划】发展路线
        • 【规划】AMM下潜
        • 弯路
    • 量子科学部
      • LV5-研究院 (量子) ☢️
    • 数据智能部
  • BFM D-Ins. | 比坊梦工程设计院
    • API接口
      • 币安API实验室🚩
    • 高并发
      • 新版本高并发实验室🚩
      • 旧版本高并发实验室
    • 开源项目部
      • 总览
      • Freqtrade 领域级重点实验室
      • HummingBot领域级重点实验室🚩
      • CCXT 领域级重点实验室🚩
        • CCXT文档
        • CCXT手册
      • AIOQuant 实验室
      • Peregrine 领域级重点实验室🚩
      • btrader实验室
      • js实验室1
      • 实验室2
      • py重点实验室
      • 以太坊部署实验室
    • 衍生产品部
    • 核能科技部
    • 信息安全部
      • 社会工程学
        • 社工导航1
        • 社工导航2
    • 量化交易部
  • BFM Univ. | 比坊梦大学
    • 密斯卡托尼克大学 🏫
    • 大学评级
    • Excel 教室
    • Power BI 教室
    • SPSS 教室
    • Python少儿编程教室 👩‍🏫
      • Python 办公自动化 OA
      • Python 金融 Finance
      • Python Project
    • 开发环境搭建教室 👨‍🏫 🚩
    • 文献与数据
    • 网络安全
    • MIS 系统开发
    • WEB 全栈开发
    • 企业战略分析
    • 人力资源管理
    • 基础财商教育
    • C#教室
    • 金融考试
    • 计算机考试
    • 发卡卡密交易平台
  • BFM Lib.|比坊梦图书馆
    • 加密货币·区块链
    • 经济·金融·交易
      • 经济金融图书馆
      • 交易理论图书馆
    • 电子·信息·软件
      • 量子信息图书馆
    • 统计·数据·智能
      • 数据智能图书馆
    • 数学·决策
      • 哲学数学
      • 复杂系统
    • 哲学·心理
      • 后现代性图书馆
      • 精神分析图书馆
    • 核能科技图书馆
    • 丛书名录
  • BFM Cult. | 比坊梦文化
    • 组织文化宣传
    • 设计部门
    • 组织文化
      • 动物园怪谈
      • IT超度指南
      • 动漫
      • 漫画
      • 游戏
      • 01城密咒
      • 心理学
    • 玄学
    • 【传媒】引起兴趣
  • 风控与合规
    • LICENCE:GNU GPL v3.0
    • 法务部
    • 企业查询
    • 有关部门和有关机构
  • 没啥用的工具
    • B站视频下载 🎬 ⏬
    • 发现网站
  • 链接
    • 看板
    • 投资方法论
    • Github托管地址
    • 旧群文件
  • 回收站
    • 三角套利程序众筹(中止)
  • 比坊梦后勤部
    • 动物园
    • 影院
    • 漫展
    • 药店
    • 服饰店
    • 餐厅
    • 钱包店
    • 数码店
    • 家具店
    • 精神病院
Powered by GitBook
On this page
  • BFM Eco System Architecture Design
  • 1 Core
  • 2 Storage
  • 3 Application
  • 4 Protocol
  • 5 BFM Virtual Machine (BFM-VM)
  • 6 Decentralized Exchange (DEX) & Atomic Swap
  • 7 Implementation
  1. BFM R-Ins. | 比坊梦科学研究院
  2. 项目架构部

【架构】架构设计

BFM Eco System Architecture Design

Previous项目架构部Next【规划】发展路线

Last updated 1 year ago

BFM Unity 将基于 Hyperledger 的公链项目 Besu,

BFM Unity 将使用伊斯坦布尔拜占庭式容错(IBFT)作为共识算法。

BFM Eco System Architecture Design

BFM Eco System adopts a 3-layer architecture divided into Storage Layer, Core Layer, and Application Layer. The BFM protocol adheres to Google Protobuf, which intrinsically supports multi-language extension.

1 Core

There are several modules in the core layer, including smart contracts, account management, and consensus. A stack-based virtual machine is implemented on BFM and an optimized instruction set is used. In order to better support DApp developers, Solidity 4 was chosen as the smart contract language, followed by future support of other advanced languages. In addition, BFM's consensus mechanism is based on Delegated Proof of Stake (DPoS) and many innovations were made in order to meet its unique requirements.

2 Storage

BFM designed a unique distributed storage protocol consisting of Block Storage and State Storage. The notion of a graph database was introduced into the design of the storage layer to better meet the need for diversified data storage in the real world.

2.1 Blockchain Storage

BFM blockchain storage chooses to use LevelDB, which is developed by Google and proven successful with many companies and projects. It has high performance and supports arbitrary byte arrays as both keys and values, singular get, put and delete, batched put and delete, bi-directional iterators, and simple compression using the very fast Snappy algorithm.

2.2 State Storage

BFM has a KhaosDB in the full-node memory that can store all the newly forked chains generated within a certain period of time and supports witnesses to switch from their own active chain swiftly into a new main chain. It can also protect blockchain storage by making it more stable from being terminating abnormally in an intermediate state.

3 Application

Developers can create a diverse range of DApps and customized wallets on BFM. Since BFM enables smart contracts to be deployed and executed, the opportunities of utility applications are unlimited.Solidity official documentation: https://solidity.readthedocs.io/

4 Protocol

protocol adheres to Google Protocol Buffers 5 , which is a language-neutral, platform-neutral, and extensible way of serializing structured data for use in communications protocols, data storage, and more.

4.1 Protocol Buffers

Protocol Buffers (Protobuf) is a flexible, efficient, automated mechanism for serializing structured data, similar to JSON or XML, but much smaller, faster and simpler.

Protobuf (.proto) definitions can be used to generate code for C++, Java, C#, Python, Ruby, Golang Objective-C, and Verilog HDL languages through the official code generators. Various third-party implementations are also available for many other languages. Protobuf eases development for clients by unifying the API definitions and also optimizing data transfers. Clients can take the API .proto from BFM’s protocol repository and integrate through the automatically-generated code libraries.

As a comparison, Protocol Buffers is 3 to 10 times smaller and 20 to 100 times faster than XML, with less ambiguous syntax. Protobuf generates data access classes that are easier to use programmatically.

4.2 HTTP

BFM Protocol provides a websocket & RESTful HTTP API alternative to the Protobuf API. They share the same interface but the HTTP API can be readily used in javascript clients.

5 BFM Virtual Machine (BFM-VM)

The BFM-VM is a lightweight, Turing complete virtual machine developed for BFM’s ecosystem. The BFM-VM connects seamlessly with the existing development ecosystem to provide millions of global developers with a custom-built blockchain system that is efficient, convenient, stable, secure, and scalable.

6 Decentralized Exchange (DEX) & Atomic Swap

Google Protocol Buffers official documentation: https://developers.google.com/protocol-buffers/

7 Implementation

The BFM blockchain code is implemented in Java and was originally a fork from EthereumJ. Bancor Protocol official website: https://about.bancor.network/protocol/

Hyperledger Besu – Hyperledger FoundationHyperledger Foundation
Istanbul Byzantine Fault Tolerance · Issue #650 · ethereum/EIPsGitHub
Atomic swap - Bitcoin Wiki
Logo
Komodo and the Early Pioneers of Atomic SwapsKomodo Platform Blog | En
Komodo Developer Documentationkomodoplatform
Logo
Logo
Logo
Logo