Bitcoin Forum
May 14, 2024, 02:34:55 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Configure Core not to download blocks or relay tx automatically  (Read 660 times)
readyrocky (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 5


View Profile
January 24, 2017, 06:48:31 PM
Merited by ABCbits (1)
 #1

More basically: how can I broadcast a tx without having to bear with the burden of a full node and without relying to public APIs?

Can this be achieved with Core and some confs like -prune:<N> ?
1715654095
Hero Member
*
Offline Offline

Posts: 1715654095

View Profile Personal Message (Offline)

Ignore
1715654095
Reply with quote  #2

1715654095
Report to moderator
1715654095
Hero Member
*
Offline Offline

Posts: 1715654095

View Profile Personal Message (Offline)

Ignore
1715654095
Reply with quote  #2

1715654095
Report to moderator
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715654095
Hero Member
*
Offline Offline

Posts: 1715654095

View Profile Personal Message (Offline)

Ignore
1715654095
Reply with quote  #2

1715654095
Report to moderator
1715654095
Hero Member
*
Offline Offline

Posts: 1715654095

View Profile Personal Message (Offline)

Ignore
1715654095
Reply with quote  #2

1715654095
Report to moderator
1715654095
Hero Member
*
Offline Offline

Posts: 1715654095

View Profile Personal Message (Offline)

Ignore
1715654095
Reply with quote  #2

1715654095
Report to moderator
unholycactus
Legendary
*
Offline Offline

Activity: 1078
Merit: 1024



View Profile WWW
January 24, 2017, 07:08:24 PM
 #2

You can't use Bitcoin Core properly if it isn't synced i.e. you've downloaded all the blocks at least once.
Pruning can be used but you still need to be downloading the new blocks, less space is required if that's what you're looking for.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6637


Just writing some code


View Profile WWW
January 24, 2017, 07:20:46 PM
 #3

You cannot have Core function properly without downloading all of the blocks. You can enable pruning so that it does not take up as much space, but it will still need to download and verify all of the blocks before discarding them. This will still take up a lot of bandwidth though.

You can run Bitcoin Core in blocksonly mode (with the -blocksonly option) where it will not download, verify, or relay any unconfirmed transactions. It will still need to download confirmed transactions as those are part of blocks.

gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4172
Merit: 8420



View Profile WWW
January 25, 2017, 06:33:41 AM
Merited by ABCbits (1)
 #4

https://github.com/laanwj/bitcoin-submittx
readyrocky (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 5


View Profile
January 26, 2017, 09:51:29 AM
 #5


Thanks a lot!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!