bitcoin

构建万物可信互联的基石,带你深度剖析区块链跨链的关键技术,满满是干货!

*爱你&永不变心* 提交于 2021-02-20 11:02:02
【摘要】 什么是区块链,相信你一定有所了解,那么你是否了解区块链跨链技术呢?本文将从区块链跨链技术的起源发展、相关名词、关键技术和模型实现几个方面进行深度剖析,干货满满! 1.区块链跨链技术诞生背景及发展历程 1.1 什么是跨链? 区块链技术经过10来年演进,已经被认为是可以参与未来可信社会构建的重要基础设施。但是现实的社会中包括许多行业和不同的经济领域。把整个现实世界中的各个行业都套用区块链是不现实的,也是不合适的。不同行业、不同经济领域的商品可以通过市场实现价值交换。每个区块链系统都是一个独立的价值经济体系。区块链跨链技术是连接独立区块链的枢纽,承载着不同价值体系的区块链之间的交换功能。价格是交换货物的前提,价格由商品本身的价值决定,受供需关系的影响,供需关系又建立在市场之上。为了实现不同区块链上的价值交换,区块链通过跨链为每个独立区块链中的价值交易市场提供跨链契约服务。每个区块链是一个独立的账本,两个不同的区块链对应两个不同的独立账本,两个账本之间没有关联关系。跨链这个技术,打通不同账本之间的障碍,允许价值跨越不同区块链进行流转。本质上,价值不能在账间转移。但是对于一个特定的用户来说,一个区块链中存储的价值可以转化为另一个区块链价值,从而实现了价值的循环。 1.2 诞生的背景及发展历程 随着2008年比特币诞生以来,区块链技术已经有了非常广泛的发展

BCH/BSV coin split troubleshooting

时光怂恿深爱的人放手 提交于 2021-02-17 04:48:46
BCH/BSV coin split troubleshooting Mark Lundeberg 2018 November 27 Resources Guides: Locktime based splitting (no dust needed) Geri’s guide (from BCA Discord) My tips on splitting My special Electron Cash version to make OP_CDS / OP_MUL splits. (You probably do NOT need this!) Some SV electron cash servers (network dialog, second tab: right click then ‘use server’): sv.electrumx.cash sv1.hsmiths.com satoshi.vision.cash BCH-only dust sources: http://forkfaucet.cash/ https://free.bitcoin.com/ BCH explorers: BlockDozer BlockChair btc.com bitcoin.com BSV explorers: https://bchsvexplorer.com/ -

Combine two wallets bitcoin

a 夏天 提交于 2021-02-07 20:56:22
问题 I have two PC and bitcoin-qt on both. On first PC I have a wallet encrypted with my passphrase AAAAAAA and on my second PC I have a wallet encrypted with other passphrase BBBBBBBBB . I want have all my btcs in my first PC because I want to sell my other PC. I know that I can send my btcs from second PC to first PC. But I prefer join the wallets. Can I merge two wallets in one? 回答1: No, you cannot merge two wallets. You can,though, have a single client software managing multiple wallets. Here

Implementation of gdax-java as a library

℡╲_俬逩灬. 提交于 2021-02-07 18:14:41
问题 I am trying to implement this API: https://github.com/robevansuk/gdax-java in order to be able to create orders, withdraw funds, and deposit funds via Coinbase and exchanging in GDAX for bitcoins. I am trying to make a trade program for Bitcoins using GDAX and its API. However, I am very confused on the implementation of the library. I have tried to contact some contributors but they do not respond back. I read in their documentation: For a lib: If you'd rather work purely in java then you

Implementation of gdax-java as a library

久未见 提交于 2021-02-07 18:13:08
问题 I am trying to implement this API: https://github.com/robevansuk/gdax-java in order to be able to create orders, withdraw funds, and deposit funds via Coinbase and exchanging in GDAX for bitcoins. I am trying to make a trade program for Bitcoins using GDAX and its API. However, I am very confused on the implementation of the library. I have tried to contact some contributors but they do not respond back. I read in their documentation: For a lib: If you'd rather work purely in java then you

Trouble posting CREATERAWTRANSACTION to Bitcoin Core via JSON-RPC

梦想与她 提交于 2021-02-05 05:12:41
问题 I'm trying to post to a local bitcoin full node via json-rpc but I'm getting an error from the server. Following the documentation here: https://bitcoincore.org/en/doc/0.17.0/rpc/rawtransactions/createrawtransaction/ I can see the following example structure for a createrawtransaction request: {"jsonrpc": "1.0", "id":"curltest", "method": "createrawtransaction", "params": ["[{\"txid\":\"myid\",\"vout\":0}]", "[{\"address\":0.01}]"] } My code creates the following structure, which seems to

Trouble posting CREATERAWTRANSACTION to Bitcoin Core via JSON-RPC

自作多情 提交于 2021-02-05 05:08:50
问题 I'm trying to post to a local bitcoin full node via json-rpc but I'm getting an error from the server. Following the documentation here: https://bitcoincore.org/en/doc/0.17.0/rpc/rawtransactions/createrawtransaction/ I can see the following example structure for a createrawtransaction request: {"jsonrpc": "1.0", "id":"curltest", "method": "createrawtransaction", "params": ["[{\"txid\":\"myid\",\"vout\":0}]", "[{\"address\":0.01}]"] } My code creates the following structure, which seems to

Trouble posting CREATERAWTRANSACTION to Bitcoin Core via JSON-RPC

我只是一个虾纸丫 提交于 2021-02-05 05:06:50
问题 I'm trying to post to a local bitcoin full node via json-rpc but I'm getting an error from the server. Following the documentation here: https://bitcoincore.org/en/doc/0.17.0/rpc/rawtransactions/createrawtransaction/ I can see the following example structure for a createrawtransaction request: {"jsonrpc": "1.0", "id":"curltest", "method": "createrawtransaction", "params": ["[{\"txid\":\"myid\",\"vout\":0}]", "[{\"address\":0.01}]"] } My code creates the following structure, which seems to

sCrypt IDE 0.5.5 支持 UI 调用有状态合约

人盡茶涼 提交于 2021-01-28 09:17:02
继上次我们推出 sCrypt Deploy 功能后,这次我们新增了调用有状态合约的功能。 本文以 boilerplate 项目中的 advancedCounter 合约为例,介绍如何使用这个功能部署和调用合约。 部署合约 AdvancedCounter 合约是一个有状态的计数器合约,它会在每次成功调用 increment 方法时,将内部状态值 counter 增加 1。这里我们将其初始状态设置为 00 (即从0开始计数),并且合约锁定的 bsv 余额使用默认设置 10000 聪。 使用这个方法 部署合约成功之后,会看到左下角的 DEPLOYED CONTRACTS 增加了一个 AdvancedCounter 合约实例。展开该实例的 transactions 子项,可以看到对应的部署交易。 注意 :如果点击了 Deploy 按钮后,在运行输出中看到这个错误: Error: Contract description version deprecated, Please update your sCrypt extension to the latest version and recompile ,请尝试执行以下步骤:1.打开合约的 sCrypt 源码,右键运行 Compile to Bitcoin Script 进行再次编译;2.点击 COMPILED CONTRACTS 视图里的

Is there an easy way to access all transactions recorded in a bitcoin block with certain block height using Python?

元气小坏坏 提交于 2021-01-28 02:24:00
问题 I would like to retrive all transactions within a block with a certain block height, without running a full node or downloading a few GB of data. Not sticking to Python, tried to use the Block Height section of this. Following the example given there, https://blockchain.info/block-height/$100?format=json returns: Invalid Numerical Value Is there an easy, Pythonic way to do this? 回答1: You have to use without $ which was only information that $block_height is not part of url but variable which