Transaction

67ebc54e6664fbe7853a90fa97d8920fb8f8ba6f2c95fa4fdbd64532e8bbb63b
Timestamp (utc)
2019-09-01 10:04:20
Fee Paid
0.00009336 BSV
(
0.00009336 BSV
-
0.00000000 BSV
)
Fee Rate
1,014 sat/KB
Version
1
Confirmations
332,865
Size Stats
9,202 B

1 Output

Total Output:
0.00000000 BSV
  • j"19HxigV4QyBv3tHpQVcUEQyq1pzZVdoAutMè"<!DOCTYPE html> <html> <head><meta name="generator" content="Hexo 3.8.0"> <meta charset="utf-8"> <title>How to Upload Big Files | Monkeylord&#39;s Blog</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="description" content="BackgroundSometimes we need to upload files much bigger than 100KB. In this situation, we need to chunk it up to many chunks. However, due to the 25 tx limit, if we upload them one by one, it will tak"> <meta property="og:type" content="article"> <meta property="og:title" content="How to Upload Big Files"> <meta property="og:url" content="./2019/03/19/How-to-Upload-Big-Files/index.html"> <meta property="og:site_name" content="Monkeylord&#39;s Blog"> <meta property="og:description" content="BackgroundSometimes we need to upload files much bigger than 100KB. In this situation, we need to chunk it up to many chunks. However, due to the 25 tx limit, if we upload them one by one, it will tak"> <meta property="og:locale" content="default"> <meta property="og:updated_time" content="2019-03-19T11:57:12.911Z"> <meta name="twitter:card" content="summary"> <meta name="twitter:title" content="How to Upload Big Files"> <meta name="twitter:description" content="BackgroundSometimes we need to upload files much bigger than 100KB. In this situation, we need to chunk it up to many chunks. However, due to the 25 tx limit, if we upload them one by one, it will tak"> <link rel="icon" href="favicon.png"> <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css"> <link rel="stylesheet" href="../../../../css/style.css"> </head> </html> <body> <div id="container"> <div id="wrap"> <header id="header"> <div id="banner"></div> <div id="header-outer" class="outer"> <div id="header-title" class="inner"> <h1 id="logo-wrap"> <a href="../../../../index.html" id="logo">Monkeylord&#39;s Blog</a> </h1> </div> <div id="header-inner" class="inner"> <nav id="main-nav"> <a id="main-nav-toggle" class="nav-icon"></a> <a class="main-nav-link" href="../../../../index.html">Home</a> <a class="main-nav-link" href="../../../../archives/">Archives</a> </nav> <nav id="sub-nav"> <a id="nav-search-btn" class="nav-icon" title="Search"></a> </nav> <div id="search-form-wrap"> <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="."></form> </div> </div> </div> </header> <div class="outer"> <section id="main"><article id="post-How-to-Upload-Big-Files" class="article article-type-post" itemscope itemprop="blogPost"> <div class="article-meta"> <a href class="article-date"> <time datetime="2019-03-19T11:46:24.000Z" itemprop="datePublished">2019-03-19</time> </a> </div> <div class="article-inner"> <header class="article-header"> <h1 class="article-title" itemprop="name"> How to Upload Big Files </h1> </header> <div class="article-entry" itemprop="articleBody"> <h3 id="Background"><a href="#Background" class="headerlink" title="Background"></a>Background</h3><p>Sometimes we need to upload files much bigger than 100KB.</p> <p>In this situation, we need to chunk it up to many chunks.</p> <p>However, due to the 25 tx limit, if we upload them one by one, it will takes a lot of time.</p> <p>A better upload method is recommended.</p> <h3 id="Upload-Method"><a href="#Upload-Method" class="headerlink" title="Upload Method"></a>Upload Method</h3><p>Input:</p> <ol> <li>private key</li> <li>files</li> </ol> <p>Logic:</p> <ol> <li><p>acquire utxos</p> </li> <li><p>read files as chunks</p> </li> <li><p>generate chunk key by privkey.childKey(chunk’s md5)</p> </li> <li><p>build a master tx from utxo, the tx has</p> <p>inputs from utxos</p> <p>outputs for each file chunk with adequate satoshis</p> <p>change output</p> </li> <li><p>build chunk tx, which has only 1 data output.</p> </li> <li>broadcast them all</li> </ol> <p>If you reach the 25 tx limits, just wait for the confirmation of master tx, then all chunk tx will be accepted.</p> <p>BTW, you can build and broadcast master tx by moneybutton actually.<br>Then, handle the chunk txs.</p> <h3 id="Examples"><a href="#Examples" class="headerlink" title="Examples"></a>Examples</h3><p>Master transaction example:<br> <a href="https://bchsvexplorer.com/tx/3937d759f4a31e1b5eee2e7c192f289f39199ce9b7913bee712bbc9510a511ea" target="_blank" rel="noopener">https://bchsvexplorer.com/tx/3937d759f4a31e1b5eee2e7c192f289f39199ce9b7913bee712bbc9510a511ea</a><br>chunk transaction example(1 in 1 out):<br> <a href="https://bchsvexplorer.com/tx/73192bb6bf6dec79d359e49b9b41355ad83ffec3adbbaf27b71a0ac4668d31d4" target="_blank" rel="noopener">https://bchsvexplorer.com/tx/73192bb6bf6dec79d359e49b9b41355ad83ffec3adbbaf27b71a0ac4668d31d4</a></p> <p>Some code example:</p> <p> <a href="https://github.com/monkeylord/MetaSite-Hammer" target="_blank" rel="noopener">https://github.com/monkeylord/MetaSite-Hammer</a></p> </div> <footer class="article-footer"> <a data-url="./2019/03/19/How-to-Upload-Big-Files/" data-id="ck00sqoww0005wwufv0kmcl8s" class="article-share-link">Share</a> </footer> </div> <nav id="article-nav"> <a href="../../20/How-to-Build-an-On-chain-Blog/" id="article-nav-newer" class="article-nav-link-wrap"> <strong class="article-nav-caption">Newer</strong> <div class="article-nav-title"> How to Build an On-chain Blog </div> </a> <a href="../../11/Metanet应用开发/" id="article-nav-older" class="article-nav-link-wrap"> <strong class="article-nav-caption">Older</strong> <div class="article-nav-title">Metanet应用开发</div> </a> </nav> </article> </section> <aside id="sidebar"> <div class="widget-wrap"> <h3 class="widget-title">Tags</h3> <div class="widget"> <ul class="tag-list"><li class="tag-list-item"><a class="tag-list-link" href="../../../../tags/bsv/">bsv</a></li></ul> </div> </div> <div class="widget-wrap"> <h3 class="widget-title">Tag Cloud</h3> <div class="widget tagcloud"> <a href="../../../../tags/bsv/" style="font-size: 10px;">bsv</a> </div> </div> <div class="widget-wrap"> <h3 class="widget-title">Archives</h3> <div class="widget"> <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="../../../../archives/2019/09/">September 2019</a></li><li class="archive-list-item"><a class="archive-list-link" href="../../../../archives/2019/07/">July 2019</a></li><li class="archive-list-item"><a class="archive-list-link" href="../../../../archives/2019/04/">April 2019</a></li><li class="archive-list-item"><a class="archive-list-link" href="../../../../archives/2019/03/">March 2019</a></li></ul> </div> </div> <div class="widget-wrap"> <h3 class="widget-title">Recent Posts</h3> <div class="widget"> <ul> <li> <a href="../../../09/01/Build-Your-Blog-on-BSV-with-D-Protocol/">利用BSV上链工具搭建链上博客</a> </li> <li> <a href="../../../07/30/Bitcom常见协议解析/">Bitcom常见协议解析</a> </li> <li> <a href="../../../04/14/Connecting-to-P2P-Network/">Connecting to P2P Network</a> </li> <li> <a href="../../20/How-to-Build-an-On-chain-Blog/">How to Build an On-chain Blog</a> </li> <li> <a href>How to Upload Big Files</a> </li> </ul> </div> </div> </aside> </div> <footer id="footer"> <div class="outer"> <div id="footer-info" class="inner"> &copy; 2019 Monkeylord<br> Powered by <a href="http://hexo.io/" target="_blank">Hexo</a> </div> </div> </footer> </div> <nav id="mobile-nav"> <a href="../../../../index.html" class="mobile-nav-link">Home</a> <a href="../../../../archives/" class="mobile-nav-link">Archives</a> </nav> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> <link rel="stylesheet" href="../../../../fancybox/jquery.fancybox.css"> <script src="../../../../fancybox/jquery.fancybox.pack.js"></script> <script src="../../../../js/script.js"></script> </div> </body> </html> text/htmlbinary(1f439de2cd4c92f819fe02dbbe629f35eb3fc0e6
    https://whatsonchain.com/tx/67ebc54e6664fbe7853a90fa97d8920fb8f8ba6f2c95fa4fdbd64532e8bbb63b