Author

Topic: Sending from address? (Read 1288 times)

kjj
legendary
Activity: 1302
Merit: 1026
July 27, 2013, 12:47:05 AM
#12
logrotate.d/bitcoind

Code:
/path/to/bitcoind/debug.log {
        compress
        copytruncate
        rotate 5
        size=10M
}

Works even if you never restart.
legendary
Activity: 1498
Merit: 1000
July 20, 2013, 06:37:06 PM
#11
Can you disable them altogether?
You shouldn't need to disable at all. Bitcoin automatically shrinks the log file on startup. Unless you have file system permission issues, the log file should never get this big.

What if I'm having it run 24/7 and don't like restarting?

It shouldn't get that big, I run two nodes and the debug.log files never get to that size combined. Your having an issue and should look into it.
legendary
Activity: 2058
Merit: 1431
July 20, 2013, 06:34:40 PM
#10
Can you disable them altogether?
You shouldn't need to disable at all. Bitcoin automatically shrinks the log file on startup. Unless you have file system permission issues, the log file should never get this big.

What if I'm having it run 24/7 and don't like restarting?
debug.log size: 202435849 bytes
Startup time: 2013-07-09 02:14:48
hero member
Activity: 740
Merit: 501
July 19, 2013, 10:53:43 PM
#9
Can you disable them altogether?
You shouldn't need to disable at all. Bitcoin automatically shrinks the log file on startup. Unless you have file system permission issues, the log file should never get this big.

What if I'm having it run 24/7 and don't like restarting?
legendary
Activity: 2058
Merit: 1431
July 19, 2013, 09:53:55 PM
#8
Can you disable them altogether?
You shouldn't need to disable at all. Bitcoin automatically shrinks the log file on startup. Unless you have file system permission issues, the log file should never get this big.
legendary
Activity: 3472
Merit: 4794
July 19, 2013, 09:46:35 AM
#7
Is there some RPC command I'm missing that sends BTC from a specific address?

RPC commands?

Use listunspent to get the list of available outputs to spend.

Use getrawtransaction and decoderawtransaction to find the address associated with each output.

Use createrawtransaction, signrawtransaction, and sendrawtransaction to build and transmit the transaction you would like.
hero member
Activity: 740
Merit: 501
July 18, 2013, 08:40:06 PM
#6
search coin control  Wink

Thanks!

Side question, how do you keep the debug log file from growing to 5 gigs of size? Fucking annoying, as if the blockchain isn't big enough.
even with timestamps, my debug files are only ~30 mb. Plus bitcoin trims them on start up by default. You probably have extra debugging stuff enabled in bitcoin.conf.

Can you disable them altogether?
legendary
Activity: 2058
Merit: 1431
July 15, 2013, 10:53:32 AM
#5
search coin control  Wink

Thanks!

Side question, how do you keep the debug log file from growing to 5 gigs of size? Fucking annoying, as if the blockchain isn't big enough.
even with timestamps, my debug files are only ~30 mb. Plus bitcoin trims them on start up by default. You probably have extra debugging stuff enabled in bitcoin.conf.
hero member
Activity: 533
Merit: 500
^Bitcoin Library of Congress.
July 15, 2013, 10:20:42 AM
#4
Whoah, 5 Gigs? Shocked  My debug.log file is only 8 MB.  You have either misread the file size or there is something odd going on.  Try deleting your debug file and see if that helps.  You can just move it to the desktop if you don't want to delete it.
hero member
Activity: 740
Merit: 501
July 14, 2013, 10:56:04 PM
#3
search coin control  Wink

Thanks!

Side question, how do you keep the debug log file from growing to 5 gigs of size? Fucking annoying, as if the blockchain isn't big enough.
hero member
Activity: 533
Merit: 500
^Bitcoin Library of Congress.
July 14, 2013, 09:22:12 PM
#2
search coin control  Wink
hero member
Activity: 740
Merit: 501
July 14, 2013, 09:07:34 AM
#1
Is there some RPC command I'm missing that sends BTC from a specific address? It would really make life about x100 easier.
Jump to: