bitcoinj项目富含完整demo此项目使用maven构建,不会使用maven的同学,查看项目pom.xml文件,并在http://mvnrepository.com/下载相应的依赖jar包.demo:bitcoinj签名交易/***@paramunSpentBTCList未花费utxo集合*@paramfrom发送者地址*@paramto接收者地址*@paramprivateKey私钥*@paramvalue发送金额.单位:聪*@paramfee旷工费.单位:聪*@return签名之后未广播的原生交易字符串*@throwsException*/publicstaticStringsignBTCTransactionData(ListunSpentBTCList,Stringfrom,Stringto,StringprivateKey,longvalue,longfee)throwsException{NetworkParametersnetworkParameters=null;//networkParameters=MainNetParams.get();//测试网络networkParameters=TestNet3Params.get();Transactiontransaction=newTransaction(networkParameters);DumpedPrivateKeydumpedPrivateKey=DumpedPrivateKey.fromBase58(networkParameters,privateKey);ECKeyecKey=dumpedPrivateKey.getKey();longtotalMoney=0;Listutxos=newArrayList();//遍历未花费列表,组装合适的itemfor(UnSpentBTCus:unSpentBTCList){if(totalMoney>=(value+fee))break;UTXOutxo=newUTXO(Sha256Hash.wrap(us.getTxid()),us.getVout(),Coin.valueOf(us.getSatoshis()),us.getHeight(),false,newScript(Hex.decode(us.getScriptPubKey())));utxos.add(utxo);totalMoney+=us.getSatoshis();}transaction.addOutput(Coin.valueOf(value),Address.fromBase58(networkParameters,to));//transaction.//消费列表总金额-已经转账的金额-手续费就等于需要返回给自己的金额了longbalance=totalMoney-value-fee;//输出-转给自己if(balance>0){transaction.addOutput(Coin.valueOf(balance),Address.fromBase58(networkParameters,from));}//输入未消费列表项for(UTXOutxo:utxos){TransactionOutPointoutPoint=newTransactionOutPoint(networkParameters,utxo.getIndex(),utxo.getHash());
以太坊(英语:Ethereum)是一个开源的有智能合约功能的公共区块链平台。
通过其专用加密货币以太币(Ether,又称“以太币”)提供去中心化的虚拟机,这是其最新的源代码,是go语言版本。
2025/4/5 10:31:51 10.19MB 以太坊 比特币 区块链
送你一把打开区块链世界大门的钥匙,相信《精通比特币第二版》会成为你最好的入门书籍,即便你有了一定的基础,偶尔翻一翻都会有不一样的收获。
2025/4/5 2:46:56 16.66MB 比特币 BitCoin 中文版 比特币中文版
Theoveralltechnicalarchitectureconsistsofthreeplatforms:1.Socialmediaplatform:thisisanapplicationlayer;2.Block-chainplatform:acoreblockchain-basedfunctionalmoduleisoffered:(1)Contractlayer:amultilingualsmartcontractsplatform;(2)Consensuslayer:aFastPaxos-basedPoSconsensusalgorithm.3.P2P-baseddistributedstoragesystem:asupportlocatedatthebottom:(1)Networklayer:customizedcontent-addressableP2Pstoragenetwork;(2)Datalayer:datastorageisbasedonLevelDB/CouchDB.
2025/3/29 6:57:41 1.42MB TRON
2025/3/10 0:50:26
个人收集的蓝宝石超白金三星56和64的原版BIOS,其中56有180w和220w,64只有一个OC240w的
2025/3/10 0:23:40 694KB 蓝宝石 vega
Blockchainisanemergingtechnology,withalmostdailyannouncementsonitsapplicabilitytoeverydaylife.Itisperceivedtoprovidesignificantopportunitiestodisrupttraditionalproductsandservicesduetothedistributed,decentralisednatureofblockchains,andfeaturessuchasthepermanenceoftheblockchainrecord,andtheabilitytorunsmartcontracts.Thesefeaturesmakeblockchaintechnology-basedproductsorservicessignificantlydifferentfrompreviousinternet-basedcommercialdevelopmentsandofparticularinteresttotheeducationsector–althougheducation,withsomeminorexceptions,isnotcurrentlyperceivedtobehighontheagendaofmostcountrieswithnationalblockchaininitiatives.Inaddition,currentlystakeholderswithineducationarelargelyunawareofthesocialadvantagesandpotentialofblockchaintechnology.Thisreportwasproducedtoaddressthisgap.ContextBlockchaintechnologyisforecasttodisruptanyfieldofactivitythatisfoundedontimestampedrecord-keepingoftitlesofownership.Withineducation,activitieslikelytobedisruptedbyblockchaintechnologyincludetheawardofqualifications,licensingandaccreditation,managementofstudentrecords,intellectualpropertymanagementandpayments.
2025/2/26 18:47:29 3.53MB 欧盟 区块链 教育
区块链高级实战课程project
2025/2/3 22:58:57 482KB 区块链
YOCSEF20周年暨YEF2018会议,有关区块链安全的PPT分享。
2025/1/24 13:50:56 3.22MB 区块链 安全
想从事区块链开发,对比特币源码的编译和分析是一条捷径,网上对比特币源在Windows下的编译且能用的的文档比较少,经过一段时间的实践,通过查阅相关资料,实现了比特币0.9.4版本源码(bitcoin-0.9.4)在Win7x64+VS2013中的工程化编译。
2025/1/4 6:28:49 663KB 区块链 比特币源码 VS2013
共 246 条记录 首页 上一页 下一页 尾页