91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

原來看到一個python版本的dome下載下來邊理解邊轉(zhuǎn)換成了java代碼 有助于java理解區(qū)塊鏈

資源截圖

代碼片段和文件信息

package?com;

import?com.block.Block;
import?com.block.BlockChain;
import?com.block.GlobalDef;
import?org.springframework.boot.*;
import?org.springframework.boot.autoconfigure.*;
import?org.springframework.context.annotation.ComponentScan;
import?org.springframework.context.annotation.Configuration;

import?java.util.ArrayList;


@Configuration
@EnableAutoConfiguration
@ComponentScan
public?class?Application?{

????public?static?void?main(String[]?args)?throws?Exception?{
????????//通過SpringApplication的run()方法啟動應(yīng)用,無需額外的配置其他的文件
????????SpringApplication.run(Application.class?args);
????????GlobalDef.blockChain?=?new?BlockChain();
????????Block?block?=?new?Block(1?System.currentTimeMillis()?new?ArrayList<>()?100?“1“);
????????GlobalDef.blockChain.getBlocks().add(bl

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-05-21?17:10??btc\
?????目錄???????????0??2018-05-24?15:55??btc\.git\
?????文件????????2053??2018-05-21?17:10??btc\.git\COMMIT_EDITMSG
?????文件??????????92??2018-05-21?17:12??btc\.git\FETCH_HEAD
?????文件??????????23??2018-05-19?16:16??btc\.git\HEAD
?????文件?????????297??2018-05-19?16:16??btc\.git\config
?????文件??????????73??2018-05-19?16:16??btc\.git\description
?????目錄???????????0??2018-05-19?16:16??btc\.git\hooks\
?????文件?????????478??2018-05-19?16:16??btc\.git\hooks\applypatch-msg.sample
?????文件?????????896??2018-05-19?16:16??btc\.git\hooks\commit-msg.sample
?????文件?????????189??2018-05-19?16:16??btc\.git\hooks\post-update.sample
?????文件?????????424??2018-05-19?16:16??btc\.git\hooks\pre-applypatch.sample
?????文件????????1642??2018-05-19?16:16??btc\.git\hooks\pre-commit.sample
?????文件????????1348??2018-05-19?16:16??btc\.git\hooks\pre-push.sample
?????文件????????4951??2018-05-19?16:16??btc\.git\hooks\pre-rebase.sample
?????文件?????????544??2018-05-19?16:16??btc\.git\hooks\pre-receive.sample
?????文件????????1239??2018-05-19?16:16??btc\.git\hooks\prepare-commit-msg.sample
?????文件????????3610??2018-05-19?16:16??btc\.git\hooks\update.sample
?????文件???????11885??2018-05-21?17:10??btc\.git\index
?????目錄???????????0??2018-05-19?16:16??btc\.git\info\
?????文件?????????240??2018-05-19?16:16??btc\.git\info\exclude
?????目錄???????????0??2018-05-19?16:16??btc\.git\logs\
?????文件?????????619??2018-05-21?17:10??btc\.git\logs\HEAD
?????目錄???????????0??2018-05-19?16:16??btc\.git\logs\refs\
?????目錄???????????0??2018-05-19?16:16??btc\.git\logs\refs\heads\
?????文件?????????619??2018-05-21?17:10??btc\.git\logs\refs\heads\master
?????目錄???????????0??2018-05-19?16:16??btc\.git\logs\refs\remotes\
?????目錄???????????0??2018-05-19?16:17??btc\.git\logs\refs\remotes\origin\
?????文件?????????176??2018-05-19?16:16??btc\.git\logs\refs\remotes\origin\HEAD
?????文件?????????432??2018-05-21?17:11??btc\.git\logs\refs\remotes\origin\master
?????目錄???????????0??2018-05-21?17:10??btc\.git\objects\
............此處省略449個文件信息

評論

共有 條評論