Block outlet reward method and device of block chain and electronic equipment
A block chain and block technology, applied in the network field, can solve the problem of a single block reward method
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] refer to figure 1 As shown in , it is a schematic diagram of the steps of a block chain reward method provided by the embodiment of this specification. pass below figure 2 The steps shown in the flow describe the embodiments of this specification in detail.
[0040] Step 102: Write the first contract that follows the specified block chain interface function declaration.
[0041] In the embodiment of the present invention, the premise of realizing the customized block reward of the blockchain is that the underlying platform of the blockchain uses an account model and has an account with management authority. Blockchain developers implement the procedures of the embodiments of this specification on blockchain nodes. First start the blockchain, and configure the contract automatic execution function at startup, and perform specific configurations according to different blockchain functions. For example, the configuration of the enterprise-level blockchain product CITA...
Embodiment 2
[0051] Refer below figure 2 The electronic equipment of the embodiment of this specification is introduced in detail. Please refer to figure 2 , at the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Wherein, the memory may include a memory, such as a high-speed random-access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (Non-Volatile Memory), such as at least one disk memory. Of course, the electronic device may also include hardware required by other services.
[0052] The processor, network interface, and memory may be interconnected via an internal bus, which may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an extended industry standard Structure (Extended Industry Standard Architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus and so on. For convenienc...
Embodiment 3
[0059] The embodiment of this specification also provides a computer-readable storage medium, the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by an electronic device including a plurality of application programs, the The above electronic device performs the following operations:
[0060] Write the first contract that follows the specified block chain interface function statement, and the first contract contains customized block reward logic;
[0061] deploying the first contract to the blockchain;
[0062] Calling the interface in the block chain that automatically executes the function of the first contract, so that the block of the block chain automatically executes the block reward logic customized in the first contract.
[0063] Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an o...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


