Skip to content

Conversation

sunny-king
Copy link

@sunny-king sunny-king commented Oct 25, 2016

No description provided.

glv2 and others added 30 commits July 30, 2014 20:48
by author: Chris Moore <dooglus@gmail.com>

Refactor SelectCoinsMinConf() and add unit tests.

AvailableCoins() makes a vector of available outputs which is then passed to SelectCoinsMinConf().  This allows unit tests to test the coin selection algorithm without having the whole blockchain available.
(cherry picked commit 9b0369c)

Conflicts:

	src/wallet.cpp
	src/wallet.h
(cherry picked from commit d172ce1)
getblock returns block and block's transactions. There is
currently one optional parameter that changes how transaction
details are presented. false (or no parameter) returns only
a list of transactions. If parameter is set to true, getblock
will return some additional transaction details.

These additional transaction details cannot be parsed easily
as transactions are separated by space indentations only.

This patch adds a second parameter (txdetails) that returns
full transaction details in a json form, so that it can be
parsed programatically.

A second parameter is used for backwards compatibility (rather
then changeing first parameter type to int).

No other things are changed, only this block presentation.
(cherry picked from commit 3d9d76b)
…eatures.

New data structures:
-CPubKey
-CKeyID
-CScriptID
-CTxDestination
(cherry picked from commit 4708d16)
by author: Guillaume LE VAILLANT <guillaume.le.vaillant@openmailbox.org>
Also includes changes to CWallet::AvailableCoins() from
bitcoin commit a2709fa
by author: Gavin Andresen <gavinandresen@gmail.com>

Add raw transactions RPC.

Functions added:
- listunspent
- getrawtransaction
- decoderawtransaction
- createrawtransction
- signrawtransaction
- sendrawtransaction
(cherry picked from commit 3110823)

Conflicts:

	src/main.h
…ltisig redeem scripts.

(cherry picked from commit f1c4b8a)
…ther to check the transaction inputs.

(cherry picked from commit 572006c)
by author: Giannis Dzegoutanis <erasmospunk@gmail.com>

added getrawmempool rpc call
(cherry picked from commit e72e615)

Conflicts:

	src/bitcoinrpc.cpp
…ions in an orphaned block

(cherry picked from commit 7ac8dc5)
Backport bitcoin commit a793424
(cherry picked from bitcoin a793424)

Conflicts:

	src/main.cpp
	src/test/transaction_tests.cpp
Also fix decoderawtransaction to not show reqSigs or addresses for
nulldata txouts. (Previous version also left reqSigs uninitialized
mistakenly)

Backport bitcoin commit 22de68d
(cherry picked from bitcoin 22de68d)

Conflicts:

	src/rpcrawtransaction.cpp
	src/test/transaction_tests.cpp
Previously bitcoin-qt's -debug transaction info was showing CTxOut([error])

It is valid for a scriptPubKey to be any size, for example simply
OP_RETURN is valid and can be used to destroy a TXOUT to mining fees.

Backport bitcoin commit 0056095
Backported by: Sunny King <sunnyking9999@gmail.com>
(cherry picked from commit 0056095)

Conflicts:

	src/core.cpp
Diandianbi.org have kindly provided an auto dns seed service for peercoin. This change adds Diandianbi.org's dnsseed to the dnsseed list.

https://www.peercointalk.org/index.php?topic=4074.0(cherry picked from commit f967b1b)
TheSeven has kindly provided an auto dns seed service for peercoin. This change adds TheSeven's dnsseed to the dnsseed list.(cherry picked from commit 6e09a5f)
Fix bug introduced in 364fa63 that always does avatar mode, which uses input address as change address. The avatar mode is not compatible with some exchange system as it interprets such address as deposit address resulting in phantom deposit.
Allow transaction output value to be 0.
Use dynamic stake modifier for kernel generation
Protocol switch schedule:
Testnet switch - Nov 16, 2015
Mainnet switch - Mar 15, 2016
Diandianbi.org have kindly provided an auto dns seed service for peercoin. This change adds Diandianbi.org's dnsseed to the dnsseed list.

https://www.peercointalk.org/index.php?topic=4074.0(cherry picked from commit f967b1b)
(cherry picked from commit 5453a64)
TheSeven has kindly provided an auto dns seed service for peercoin. This change adds TheSeven's dnsseed to the dnsseed list.(cherry picked from commit 6e09a5f)

(cherry picked from commit 650ea5f)
Conflicts:
	doc/README
	doc/README_windows.txt
	share/setup.nsi
	src/version.h
sunnyking and others added 20 commits March 21, 2016 21:41
The value of new arg ttl is set to 2 as it's recommended default.

(cherry picked from commit 9f3e48e)
This does two things:
1) Now does not output to debug.log if -printtodebugger flag is passed
2) Unit tests set -printtodebugger so only test results are output to stdout

Note that -printtodebugger only actually prints to the debugger on Windows.

(cherry picked from commit 4d51be1)
Signature lengths stored on more than 4 bytes are accepted by OpenSSL 64
bits but rejected by OpenSSL 32 bits. The previous fix
(9b40cd5) prevented that on the whole
signature length but not on the R and S lengths. This patch normalizes
all the lengths by parsing and rewriting the whole structure.
sigmike's BER signature fix for inclusion in 0.5.4
peercoin#117 sigmike's additional BER signature fixes for inclusion in 0.5.4
peercoin v0.6.0
@sunny-king sunny-king changed the base branch from master to sunny October 25, 2016 10:25
@sunny-king sunny-king changed the base branch from sunny to master October 25, 2016 10:27
@sunny-king sunny-king changed the title peercoin v0.6 share v0.6 share Oct 25, 2016
@sunny-king sunny-king changed the base branch from master to sunny October 25, 2016 10:36
@sunny-king sunny-king changed the title v0.6 share share Oct 25, 2016
@sunny-king sunny-king changed the base branch from sunny to master October 25, 2016 11:09
@sunny-king sunny-king changed the base branch from master to sunny October 25, 2016 11:17
@sunny-king sunny-king changed the base branch from sunny to develop October 25, 2016 11:18
@sunny-king sunny-king closed this Oct 25, 2016
@sunny-king sunny-king changed the base branch from develop to signature_length_fixes October 25, 2016 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.