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
• 27,620 points
27 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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

You could also use rtorrent which has more options.

answered Aug 20, 2018 by slayer
• 29,040 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 26, 2018 in Blockchain by Johnathon
• 9,030 points
33 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
• 16,450 points
28 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 7, 2018 in Blockchain by Christine
• 15,790 points
64 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
60 views
0 votes
1 answer
0 votes
2 answers
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,040 points
27 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.