Terminating transaction-cli

0 votes

I am using ruby script to download bitcoin bootstrap.dat file.

#!/usr/bin/ruby env

`transmission-cli https://bitcoin.org/bin/blockchain/bootstrap.dat.torrent`

Now I run that script

root@master:~# ruby demo

The script is getting hanged and the file is not getting download.

Aug 20, 2018 in Blockchain by digger
• 26,740 points
574 views

1 answer to this question.

0 votes

You can use the -f, -finish <script> which executes a script when the download is completed:

tmpfile=$(mktemp)

chmod a+x $tmpfile

echo "killall transmission-cli" > $tmpfile

transmission-cli -f $tmpfile your.torrent

answered Aug 20, 2018 by slayer
• 29,370 points

Related Questions In Blockchain

+1 vote
1 answer

How does a miner get to know that a transaction is verified by all the nodes?

Contrary to the popular belief, it is ...READ MORE

answered Mar 27, 2018 in Blockchain by Johnathon
• 9,090 points
2,872 views
+1 vote
1 answer

Transaction using Blockchain wallet APi

Each transaction requires a fee to be ...READ MORE

answered Jun 19, 2018 in Blockchain by Perry
• 17,100 points
797 views
0 votes
0 answers

What happens to the ethereum mempool transaction of uncle and fork nodes

I understand that in Bitcoin network when ...READ MORE

Apr 8, 2018 in Blockchain by Christine
• 15,790 points
1,037 views
+1 vote
4 answers
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,947 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,471 views
+1 vote
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured ...READ MORE

answered Aug 6, 2018 in Blockchain by aryya
• 7,460 points
1,461 views
0 votes
2 answers

How is a transaction public key related to original public?

The details like account balance, nonce etc., ...READ MORE

answered Jul 24, 2018 in Blockchain by digger
• 26,740 points
738 views
0 votes
1 answer

Ethereum wallet not able to make transaction

I can see that the nonce you ...READ MORE

answered Aug 9, 2018 in Blockchain by slayer
• 29,370 points
652 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP