找到约 14 条结果

文章 TLUV 限制条款操作码简介

...00) \[3\] [https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki#Constructing\_and\_spending\_Taproot\_outputs](https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki#Constructing_and_spending_Taproot_outputs) \[4\] [https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2019-Aug...

文章 Can the Issue of Invoice Reimbursement in China be Solved Completely through the Integration of Blockchain and IoT Technology?

...and technical framework, the non-inductive invoice reimbursement system is constructed to reduce the overall reimbursement costs and promoting the improvement of the taxation system in China. Keywords Blockchain, No reimbursement, Invoice, The Internet of Things, Taxation system. 1. INTRODU...

文章 可初始化的智能合约设计模式

...变量中。在代理中添加一个构造函数,如下所示: ``` constructor( string memory name_, string memory symbol_, uint256 maxSupply_ ) { name = name_; symbol = symbol_; maxSupply = maxSupply_; } ``` 这不是一个好的解决方案,因为在代理...

文章 基于格的哈希函数

... C., Vaikuntanathan V.** Trapdoors for hard lattices and new cryptographic constructions [C]. *Proceedings of the 40th Annual ACM Symposium on Theory of Computing*. ACM, 2008.

文章 2022年夏季我们正在阅读的一些书籍

...# …来自 Scott Duke Kominers,研究团队: **_Auctions: The Social Construction of Value_,作者:Charles Smith。** “这部经典而生动的社会学著作探讨了拍卖如何在整个社会中涌现,作为建立社区对价值共识的一种方式。(听起来很熟悉?)”...

文章 In-Depth Analysis of the TON ADNL Protocol: Building Secure and Efficient P2P Communication Network

...novative neighbor table mechanism, enables nodes within the TON network to construct an efficient and resilient network topology. This topology is not static; it is a living, breathing entity that adapts to the ebb and flow of network traffic, node availability, and changes in the network's overall ...

文章 深入探索 Cairo: Sierra IR 与 Cairo 底层

...) { fallthrough([8]) 12([9]) }; // 4 branch_align() -> (); // 5 struct_deconstruct([8]) -> ([10]); // 6 struct_construct([10]) -> ([11]); // 7 enum_init([11]) -> ([12]); // 8 store_temp([3]) -> ([13]); // 9 store_temp([12]) -> ([14]); // 10 return([13], [14]); // 11 branch_align() -> (); // ...

文章 Substrate 入门(7) - Substrate的模型设计

...`--execution` : 对于所有的执行采用的方式 * `--execution-block-construction` : 对于打包区块执行的时候采用的方式 * `--execution-import-block`:从文件导入区块执行的时候采用的方式 * `--execution-offchain-worker`:offchain 执行的时候采用的方式...

文章 针对Node.js构建ROP链

...d += p64(0x0) payload += p64(bss+offset+0x30) --- ## 更改后 def construct_execve_cmd(cmds): null_cmd = b'\x00'.join(cmds) null_cmd += b'\x00' * (8 - len(null_cmd) % 8) argv_offsets = [0] + [len(c)+1 for c in cmds[:-1]] # +1 for null 字节 argv_offsets.append(len(cmds[...

文章 TVM Smart Contract Optimization: In-Depth Analysis of Inline and Inline_ref Specifiers

...ressions are pre-evaluated at compile time, and loop unrolling, where loop constructs are expanded to reduce the overhead of loop control. * **Inlining Strategies:** Compilers may use various strategies to decide when to inline a function. These strategies can be based on heuristics, such as the s...

文章 Aptos Move 控制流解析:IF、WHILE与LOOP的深入解读

...制循环流程。 ## While, For, and Loop 实操 Move offers three constructs for looping: `while`, `for`, and `loop`. ```rust module 0x42::Demo3 { use std::debug; #[test] fun test_if() { let x = 5; let x2 = 10; if (x == 5) { debug:...

文章 Move中的设计模式(4)——Witness

...:xcoin::X; public fun publish() { // Illegal, X can not be constructed here. coin::publish_coin(X {}); } } ``` 那么如果此时有一个hacker想要抢先注册这个token,那么需要构造模块中的x提前调用`publish_coin`函数,但是由于Move中的...

文章 可升级代理合约学习笔记

...ementation behind the proxy. */ contract ERC1967Proxy is Proxy { constructor(address implementation, bytes memory _data) payable { ERC1967Utils.upgradeToAndCall(implementation, _data); } function _implementation() internal view virtual override returns (address) { ...

文章 如何利用限制条款在比特币上实现通用智能合约

... [BIP 0341](https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki#constructing-and-spending-taproot-outputs))。 我们将在下文提出一种潜在解决方案,用来在 UTXO 中表示合约的状态和有效转换规则。 ### 链上计算?! 计算应该在区块链上执行...