Conversation
1 similar comment
|
Nice! Thanks a bunch. concept ACK Does the default-off sync test work on segwit or segwit2x testnet chains? |
|
Hi, SegWit aside the default-off This problem was introduced with changes made in commit 5475db7. Will add some fixes for this. |
259c42e to
24097bb
Compare
1 similar comment
|
Hi, The most recent commit to this PR successfully validates 1179472 blocks of the testnet3 chain. Test performed with |
lib/script_names.c
Outdated
| char tmpname[256]; | ||
|
|
||
| for (i = 0; i < ARRAY_SIZE(opnames); i++) { | ||
| for (i = 0; i < ARRAY_SIZE(opnames); i++) { |
lib/script_sign.c
Outdated
| bp_tx_sighash(&hash, fromPubKey, txTo, nIn, nHashType, 0, 0); | ||
|
|
||
| /* match fromPubKey against templates, to find what pubkey[hashes] | ||
| /* match fromPubKey against templates, to find what pubkey[hashes] |
|
|
||
| noinst_LIBRARIES= libtest.a | ||
| check_LTLIBRARIES = libtest.la | ||
|
|
There was a problem hiding this comment.
This is a noinst lib. Why change to libtool?
There was a problem hiding this comment.
I thought the check_ prefix did not work with the LIBRARIES primary but I was mistaken. Reading the automake manual I now see that:
The special prefix ‘check_’ indicates that the objects in question should not be built until the ‘make check’ command is run. Those objects are not installed either.
The current primary names are ‘PROGRAMS’, ‘LIBRARIES’, ‘LTLIBRARIES’, ‘LISP’, ‘PYTHON’, ‘JAVA’, ‘SCRIPTS’, ‘DATA’, ‘HEADERS’, ‘MANS’, and ‘TEXINFOS’.
There was a problem hiding this comment.
Also, check_ prefix has slightly negative value versus noinst_, because it reduces the amount of code built by default, which prevents immediate notification of test breakage caused by a non-test code bug.
There was a problem hiding this comment.
Latest commit reverts check_ prefix to noinst_
| * file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||
| */ | ||
|
|
||
| #include "picocoin-config.h" |
There was a problem hiding this comment.
Running test/script.c through iwyu tool would suggest so.
| const char* scriptPubKeyString, | ||
| const unsigned int test_flags, | ||
| int64_t nValue) | ||
| { |
There was a problem hiding this comment.
nit: non-standard indent versus rest of project.
|
Hi, Non-standard indentations noted. .clang-format config seems to be doing some strange things. Will fix. |
Hi,
This PR adds SegWit functionality to picocoin.
All json test files in
test/datadirectory copied from bitcoin core 14.2