Erkan Yilmaz
95e09c85dd
add \n
...
currently shows as:
...
getlasthave <username> | <groupname> [user1,user2...]
getlastsoftcheckpointReturns votes of last soft checkpoint.
getmentions <localuser> <count> '{"max_id":max_id,"since_id":since_id}'
...
2015-11-14 14:13:10 +01:00
Miguel Freitas
38052af55d
handle block db inconsistency more nicely
2014-07-28 15:58:33 -03:00
Miguel Freitas
18493205fc
make soft checkpoint less verbose
2014-02-14 17:43:44 -02:00
Miguel Freitas
bf3ec900d0
some nodes are still on the wrong chain (block 18973 with an invalid spamuser). checkpoint the
...
correct branch to force them to go to the right chain.
2014-01-13 08:03:43 -02:00
Miguel Freitas
26bbd5614f
remove GetCoins/SetCoins
2013-07-24 18:23:05 -03:00
Miguel Freitas
2fa9731108
remove stuff, improve TxToJSON
2013-07-20 20:26:21 -03:00
Miguel Freitas
d9fdca340c
implement CScript => string extraction, check username constraits, improve username hash
2013-07-20 19:54:48 -03:00
Miguel Freitas
4652b9f01b
mempool/cinv now indexed by userhash (all tx must be indexed by userhash btw)
2013-07-19 00:00:59 -03:00
Miguel Freitas
878d15160f
ccoins is now the register element database
2013-07-17 17:48:29 -03:00
Jeff Garzik
091aa8dae9
RPC: add getbestblockhash, to return tip of best chain
2013-07-03 11:02:29 -04:00
Eric Lombrozo
7db120d531
Moved CBlock::ReadFromDisk out of CBlock to functions ReadBlockFromDisk in main.h
2013-06-23 19:59:34 -07:00
Jeff Garzik
f590653377
RPC: add 'verifychain', to verify chain database at runtime
2013-06-19 11:53:02 -04:00
Jeff Garzik
543d70a676
Merge pull request #2747 from luke-jr/getblock_verbose0
...
Add verbose flag to getblock RPC so it is possible to get hex dumps of blocks
2013-06-10 08:16:39 -07:00
Luke Dashjr
2331952141
RPC: getblock(): Accept 2nd "verbose" parameter, similar to getrawtransaction, but defaulting to 1 for backward compatibility
2013-06-07 17:44:39 +00:00
Pieter Wuille
0fe8010a10
Make FindBlockByHeight constant-time.
...
Remove the pnext pointer in CBlockIndex, and replace it with a
vBlockIndexByHeight vector (no effect on memory usage). pnext can
now be replaced by vBlockIndexByHeight[nHeight+1], but
FindBlockByHeight becomes constant-time.
This also means the entire mapBlockIndex structure and the block
index entries in it become purely blocktree-related data, and
independent from the currently active chain, potentially allowing
them to be protected by separate mutexes in the future.
2013-05-12 19:52:16 +02:00
Pieter Wuille
e31aa7c9d7
Improve gettxoutsetinfo command
...
* Bugfix: output the correct best block hash (during IBD, it can
differ from the actual current best block)
* Add height to output
* Add hash_serialized, which is a hash of the entire UTXO state.
Can be useful to compare two nodes.
* Add total_amount, the sum of all UTXOs' values.
2013-05-01 17:21:43 +02:00
Pieter Wuille
4e68391a7f
Make output of gettxout RPC more consistent
...
* Report "value" in BTC, rather than "amount" in satoshis
* Use ScriptPubKeyToJSON to report script data
2013-01-04 22:51:11 +01:00
Pieter Wuille
e754cf4133
Split off CBlockHeader from CBlock
...
Cleaner and removes the need for the application-specific flags in
serialize.h.
2012-11-16 00:12:33 +01:00
Pieter Wuille
beeb57610c
Add gettxout and gettxoutsetinfo RPCs
2012-10-20 23:08:57 +02:00
Wladimir J. van der Laan
738835d7b8
Document RPC error codes
...
Replace all "magic values" in RPCError(...) by constants.
2012-10-04 15:49:15 +02:00
Jeff Garzik
c625ae04d2
RPC, cosmetic: move more RPC code to new rpcblockchain.cpp module
2012-08-21 11:03:38 -04:00