File: testinput.c

package info (click to toggle)
libblkmaker 0.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 176 kB
  • ctags: 165
  • sloc: ansic: 1,306; makefile: 67; sh: 7
file content (43 lines) | stat: -rw-r--r-- 1,510 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
 * Written by Luke Dashjr in 2012
 *
 * This data is released under the terms of the Creative Commons "CC0 1.0 Universal" license and/or copyright waiver.
 */

const char *blkmaker_test_input =
"{"
	"\"result\": {"
		"\"previousblockhash\": \"000000004d424dec1c660a68456b8271d09628a80cc62583e5904f5894a2483c\","
		"\"target\": \"00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff\","
		"\"noncerange\": \"00000000ffffffff\","
		"\"transactions\": [],"
		"\"sigoplimit\": 20000,"
		"\"expires\": 120,"
		"\"longpoll\": \"/LP\","
		"\"height\": 23957,"
		"\"coinbasetxn\": {"
			"\"data\": \""
				"01000000"  // txn version
				"01"        // txn in count
				"0000000000000000000000000000000000000000000000000000000000000000"  // input coin
				"ffffffff"
				"13" "02955d0f00456c6967697573005047dc66085f"  // scriptSig
				"ffffffff"                                     // sequence
				"02"         // tx out count
				"fff1052a01000000"                                         // tx out #1 amount
				"19" "76a9144ebeb1cd26d6227635828d60d3e0ed7d0da248fb88ac"  // tx out #1 scriptPubKey
				"0100000000000000"                                         // tx out #2 amount
				"19" "76a9147c866aee1fa2f3b3d5effad576df3dbf1f07475588ac"  // tx out #2 scriptPubKey
				"00000000"   // lock time
			"\""
		"},"
		"\"version\": 2,"
		"\"curtime\": 1346886758,"
		"\"mutable\": [\"coinbase/append\"],"
		"\"sizelimit\": 1000000,"
		"\"bits\": \"ffff001d\""
	"},"
	"\"id\": 0,"
	"\"error\": null"
"}"
;