Skip to content

Instantly share code, notes, and snippets.

@chjj
Created June 5, 2014 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chjj/454aa88cf723c58ccb4b to your computer and use it in GitHub Desktop.
Save chjj/454aa88cf723c58ccb4b to your computer and use it in GitHub Desktop.
Hexdump of Framer.tx():
00000000: 0100 0000 05c0 289d 71b2 87d7 43ba 5aea .....@(.q2.WC:Zj
00000010: 766c 42e8 d6e1 9d28 834e 0f98 013f 137e vlBhVa.(.N...?.~
00000020: 5bb5 4f76 4801 0000 006c 4930 4602 2100 [5OvH....lI0F.!.
00000030: d8c3 c7cd aa6c 63d9 b60d f7a0 99cf 0357 XCGM*lcY6.w..O.W
00000040: 336e 83d9 e514 1840 a52c 73c2 5c24 7c2c 3n.Ye..@%,sB\$|,
00000050: 0221 00b6 3425 03b2 3d60 4fe7 e3ad 5513 .!.64%.2=`Ogc-U.
00000060: 1f3b 4001 cb87 31a5 85b9 6f39 9470 c9e8 .;@.K.1%.9o9.pIh
00000070: 1998 9801 2102 5a45 c743 34eb aa81 7649 ....!.ZEGC4k*.vI
00000080: 2991 6b9e 7720 aadf cc11 02b8 0bbc 1e9c ).k.w.*_L..8.<..
00000090: 21c5 0bbd 1786 ffff ffff add3 d206 1e6d !E.=......-SR..m
000000a0: 8b8e 2258 ff2b bada e599 7608 9674 3cc5 .."X.+:Ze.v..t<E
000000b0: 4033 0bcb 7322 2dc4 679b 0000 0000 6a47 @3.Ks"-Dg.....jG
000000c0: 3044 0220 7151 15ca ad5a f465 28ae 2455 0D..qQ.J-Zte(.$U
000000d0: ab2d d44a 7681 44e1 4dff 1d82 da60 92a2 +-TJv.DaM...Z`."
000000e0: 4d79 b3d3 0220 325f cb84 e0dd ed3f 97b0 My3S..2_K.`]m?.0
000000f0: 0c17 772d 6ea3 07ba 0967 091d 3f8f d969 ..w-n#.:.g..?.Yi
00000100: 4f5a e773 82fa 0121 025a 45c7 4334 ebaa OZgs.z.!.ZEGC4k*
00000110: 8176 4929 916b 9e77 20aa dfcc 1102 b80b .vI).k.w.*_L..8.
00000120: bc1e 9c21 c50b bd17 86ff ffff ff51 8b0e <..!E.=......Q..
00000130: e06a 6e2c ef0f ed69 77ec 0848 01a7 e57d `jn,o.miwl.H.'e}
00000140: 9a04 d651 db9b 2e46 9c37 f9e6 a700 0000 ..VQ[..F.7yf'...
00000150: 006c 4930 4602 2100 fc5b 6024 e539 413e .lI0F.!.|[`$e9A>
00000160: 75d6 d95c e429 0ff1 3bf1 5e60 639e b188 uVY\d).q;q^`c.1.
00000170: 1b04 e8a3 738c e9af 0221 009d 744e e382 ..h#s.i/.!..tNc.
00000180: 9ac2 fb0d ab92 5850 6668 9359 2307 2faf .B{.+.XPfh.Y#.//
00000190: 7f7b b900 e9a8 96f8 6bb4 2801 2102 5a45 .{9.i(.xk4(.!.ZE
000001a0: c743 34eb aa81 7649 2991 6b9e 7720 aadf GC4k*.vI).k.w.*_
000001b0: cc11 02b8 0bbc 1e9c 21c5 0bbd 1786 ffff L..8.<..!E.=....
000001c0: ffff ecd5 a84d ca64 a012 416d 8e82 2ca4 ..lU(MJd..Am..,$
000001d0: ed8a 0e45 3b18 a750 dc69 3b9b e121 a03b m..E;.'P\i;.a!.;
000001e0: 1cb3 0000 0000 6b48 3045 0220 353a eea2 .3....kH0E..5:n"
000001f0: 021a f251 7a1f 4040 a0ec 170b f496 f274 ..rQz.@@.l..t.rt
00000200: 5df8 6029 b8ed 6f1f 4949 76a8 0221 00d1 ]x`)8mo.IIv(.!.Q
00000210: 4e6f b65a 709c 5925 c985 5b5b 8b43 465c No6Zp.Y%I.[[.CF\
00000220: a3d1 36b7 236b 3987 a338 881d 2bfa 5e01 #Q67#k9.#8..+z^.
00000230: 2102 5a45 c743 34eb aa81 7649 2991 6b9e !.ZEGC4k*.vI).k.
00000240: 7720 aadf cc11 02b8 0bbc 1e9c 21c5 0bbd w.*_L..8.<..!E.=
00000250: 1786 ffff ffff c028 9d71 b287 d743 ba5a ......@(.q2.WC:Z
00000260: ea76 6c42 e8d6 e19d 2883 4e0f 9801 3f13 jvlBhVa.(.N...?.
00000270: 7e5b b54f 7648 0000 0000 6c49 3046 0221 ~[5OvH....lI0F.!
00000280: 00a4 82d7 47ae a18a 1692 9683 8015 d998 .$.WG.!.......Y.
00000290: a49c 938d 8042 5b79 1313 3ece 9aef 9f49 $....B[y..>N.o.I
000002a0: 6e02 2100 bf83 3a80 f380 c86b f579 b842 n.!.?.:.s.Hkuy8B
000002b0: 2736 9e07 7062 599a 2490 1d06 ea78 bc7c '6..pbY.$...jx<|
000002c0: ac3f e45f 0121 025a 45c7 4334 ebaa 8176 ,?d_.!.ZEGC4k*.v
000002d0: 4929 916b 9e77 20aa dfcc 1102 b80b bc1e I).k.w.*_L..8.<.
000002e0: 9c21 c50b bd17 86ff ffff ff02 4054 8900 .!E.=.......@T..
000002f0: 0000 0000 1976 a914 58a0 7f5d 18e3 12df .....v).X..].c._
00000300: 2f6e edf9 29fb 882f ad0e 2844 88ac baeb /nmy){./-.(D.,:k
00000310: 1700 0000 0000 1976 a914 db50 087a 385e .......v).[P.z8^
00000320: 867b 5473 45e1 50f6 7503 c4a0 b6a6 88ac .{TsEaPvu.D.6&.,
00000330: 0000 0000 ....
Framed and Parsed TX:
{ _raw:
[ 1,
0,
0,
0,
5,
192,
40,
157,
113,
178,
135,
215,
67,
186,
90,
234,
118,
108,
66,
232,
214,
225,
157,
40,
131,
78,
15,
152,
1,
63,
19,
126,
91,
181,
79,
118,
72,
1,
0,
0,
0,
108,
73,
48,
70,
2,
33,
0,
216,
195,
199,
205,
170,
108,
99,
217,
182,
13,
247,
160,
153,
207,
3,
87,
51,
110,
131,
217,
229,
20,
24,
64,
165,
44,
115,
194,
92,
36,
124,
44,
2,
33,
0,
182,
52,
37,
3,
178,
61,
96,
79,
231,
227,
173,
85,
19,
31,
59,
64,
1,
203,
135,
49,
165,
133,
185,
111,
57,
148,
112,
201,
232,
25,
152,
152,
1,
33,
2,
90,
69,
199,
67,
52,
235,
170,
129,
118,
73,
41,
145,
107,
158,
119,
32,
170,
223,
204,
17,
2,
184,
11,
188,
30,
156,
33,
197,
11,
189,
23,
134,
255,
255,
255,
255,
173,
211,
210,
6,
30,
109,
139,
142,
34,
88,
255,
43,
186,
218,
229,
153,
118,
8,
150,
116,
60,
197,
64,
51,
11,
203,
115,
34,
45,
196,
103,
155,
0,
0,
0,
0,
106,
71,
48,
68,
2,
32,
113,
81,
21,
202,
173,
90,
244,
101,
40,
174,
36,
85,
171,
45,
212,
74,
118,
129,
68,
225,
77,
255,
29,
130,
218,
96,
146,
162,
77,
121,
179,
211,
2,
32,
50,
95,
203,
132,
224,
221,
237,
63,
151,
176,
12,
23,
119,
45,
110,
163,
7,
186,
9,
103,
9,
29,
63,
143,
217,
105,
79,
90,
231,
115,
130,
250,
1,
33,
2,
90,
69,
199,
67,
52,
235,
170,
129,
118,
73,
41,
145,
107,
158,
119,
32,
170,
223,
204,
17,
2,
184,
11,
188,
30,
156,
33,
197,
11,
189,
23,
134,
255,
255,
255,
255,
81,
139,
14,
224,
106,
110,
44,
239,
15,
237,
105,
119,
236,
8,
72,
1,
167,
229,
125,
154,
4,
214,
81,
219,
155,
46,
70,
156,
55,
249,
230,
167,
0,
0,
0,
0,
108,
73,
48,
70,
2,
33,
0,
252,
91,
96,
36,
229,
57,
65,
62,
117,
214,
217,
92,
228,
41,
15,
241,
59,
241,
94,
96,
99,
158,
177,
136,
27,
4,
232,
163,
115,
140,
233,
175,
2,
33,
0,
157,
116,
78,
227,
130,
154,
194,
251,
13,
171,
146,
88,
80,
102,
104,
147,
89,
35,
7,
47,
175,
127,
123,
185,
0,
233,
168,
150,
248,
107,
180,
40,
1,
33,
2,
90,
69,
199,
67,
52,
235,
170,
129,
118,
73,
41,
145,
107,
158,
119,
32,
170,
223,
204,
17,
2,
184,
11,
188,
30,
156,
33,
197,
11,
189,
23,
134,
255,
255,
255,
255,
236,
213,
168,
77,
202,
100,
160,
18,
65,
109,
142,
130,
44,
164,
237,
138,
14,
69,
59,
24,
167,
80,
220,
105,
59,
155,
225,
33,
160,
59,
28,
179,
0,
0,
0,
0,
107,
72,
48,
69,
2,
32,
53,
58,
238,
162,
2,
26,
242,
81,
122,
31,
64,
64,
160,
236,
23,
11,
244,
150,
242,
116,
93,
248,
96,
41,
184,
237,
111,
31,
73,
73,
118,
168,
2,
33,
0,
209,
78,
111,
182,
90,
112,
156,
89,
37,
201,
133,
91,
91,
139,
67,
70,
92,
163,
209,
54,
183,
35,
107,
57,
135,
163,
56,
136,
29,
43,
250,
94,
1,
33,
2,
90,
69,
199,
67,
52,
235,
170,
129,
118,
73,
41,
145,
107,
158,
119,
32,
170,
223,
204,
17,
2,
184,
11,
188,
30,
156,
33,
197,
11,
189,
23,
134,
255,
255,
255,
255,
192,
40,
157,
113,
178,
135,
215,
67,
186,
90,
234,
118,
108,
66,
232,
214,
225,
157,
40,
131,
78,
15,
152,
1,
63,
19,
126,
91,
181,
79,
118,
72,
0,
0,
0,
0,
108,
73,
48,
70,
2,
33,
0,
164,
130,
215,
71,
174,
161,
138,
22,
146,
150,
131,
128,
21,
217,
152,
164,
156,
147,
141,
128,
66,
91,
121,
19,
19,
62,
206,
154,
239,
159,
73,
110,
2,
33,
0,
191,
131,
58,
128,
243,
128,
200,
107,
245,
121,
184,
66,
39,
54,
158,
7,
112,
98,
89,
154,
36,
144,
29,
6,
234,
120,
188,
124,
172,
63,
228,
95,
1,
33,
2,
90,
69,
199,
67,
52,
235,
170,
129,
118,
73,
41,
145,
107,
158,
119,
32,
170,
223,
204,
17,
2,
184,
11,
188,
30,
156,
33,
197,
11,
189,
23,
134,
255,
255,
255,
255,
2,
64,
84,
137,
0,
0,
0,
0,
0,
25,
118,
169,
20,
88,
160,
127,
93,
24,
227,
18,
223,
47,
110,
237,
249,
41,
251,
136,
47,
173,
14,
40,
68,
136,
172,
186,
235,
23,
0,
0,
0,
0,
0,
25,
118,
169,
20,
219,
80,
8,
122,
56,
94,
134,
123,
84,
115,
69,
225,
80,
246,
117,
3,
196,
160,
182,
166,
136,
172,
0,
0,
0,
0 ],
version: 1,
inputs:
[ { size: 149,
out:
{ hash:
[ 192,
40,
157,
113,
178,
135,
215,
67,
186,
90,
234,
118,
108,
66,
232,
214,
225,
157,
40,
131,
78,
15,
152,
1,
63,
19,
126,
91,
181,
79,
118,
72 ],
index: 1 },
script:
[ [ 48,
70,
2,
33,
0,
216,
195,
199,
205,
170,
108,
99,
217,
182,
13,
247,
160,
153,
207,
3,
87,
51,
110,
131,
217,
229,
20,
24,
64,
165,
44,
115,
194,
92,
36,
124,
44,
2,
33,
0,
182,
52,
37,
3,
178,
61,
96,
79,
231,
227,
173,
85,
19,
31,
59,
64,
1,
203,
135,
49,
165,
133,
185,
111,
57,
148,
112,
201,
232,
25,
152,
152,
1 ],
[ 2,
90,
69,
199,
67,
52,
235,
170,
129,
118,
73,
41,
145,
107,
158,
119,
32,
170,
223,
204,
17,
2,
184,
11,
188,
30,
156,
33,
197,
11,
189,
23,
134 ] ],
seq: 4294967295 },
{ size: 147,
out:
{ hash:
[ 173,
211,
210,
6,
30,
109,
139,
142,
34,
88,
255,
43,
186,
218,
229,
153,
118,
8,
150,
116,
60,
197,
64,
51,
11,
203,
115,
34,
45,
196,
103,
155 ],
index: 0 },
script:
[ [ 48,
68,
2,
32,
113,
81,
21,
202,
173,
90,
244,
101,
40,
174,
36,
85,
171,
45,
212,
74,
118,
129,
68,
225,
77,
255,
29,
130,
218,
96,
146,
162,
77,
121,
179,
211,
2,
32,
50,
95,
203,
132,
224,
221,
237,
63,
151,
176,
12,
23,
119,
45,
110,
163,
7,
186,
9,
103,
9,
29,
63,
143,
217,
105,
79,
90,
231,
115,
130,
250,
1 ],
[ 2,
90,
69,
199,
67,
52,
235,
170,
129,
118,
73,
41,
145,
107,
158,
119,
32,
170,
223,
204,
17,
2,
184,
11,
188,
30,
156,
33,
197,
11,
189,
23,
134 ] ],
seq: 4294967295 },
{ size: 149,
out:
{ hash:
[ 81,
139,
14,
224,
106,
110,
44,
239,
15,
237,
105,
119,
236,
8,
72,
1,
167,
229,
125,
154,
4,
214,
81,
219,
155,
46,
70,
156,
55,
249,
230,
167 ],
index: 0 },
script:
[ [ 48,
70,
2,
33,
0,
252,
91,
96,
36,
229,
57,
65,
62,
117,
214,
217,
92,
228,
41,
15,
241,
59,
241,
94,
96,
99,
158,
177,
136,
27,
4,
232,
163,
115,
140,
233,
175,
2,
33,
0,
157,
116,
78,
227,
130,
154,
194,
251,
13,
171,
146,
88,
80,
102,
104,
147,
89,
35,
7,
47,
175,
127,
123,
185,
0,
233,
168,
150,
248,
107,
180,
40,
1 ],
[ 2,
90,
69,
199,
67,
52,
235,
170,
129,
118,
73,
41,
145,
107,
158,
119,
32,
170,
223,
204,
17,
2,
184,
11,
188,
30,
156,
33,
197,
11,
189,
23,
134 ] ],
seq: 4294967295 },
{ size: 148,
out:
{ hash:
[ 236,
213,
168,
77,
202,
100,
160,
18,
65,
109,
142,
130,
44,
164,
237,
138,
14,
69,
59,
24,
167,
80,
220,
105,
59,
155,
225,
33,
160,
59,
28,
179 ],
index: 0 },
script:
[ [ 48,
69,
2,
32,
53,
58,
238,
162,
2,
26,
242,
81,
122,
31,
64,
64,
160,
236,
23,
11,
244,
150,
242,
116,
93,
248,
96,
41,
184,
237,
111,
31,
73,
73,
118,
168,
2,
33,
0,
209,
78,
111,
182,
90,
112,
156,
89,
37,
201,
133,
91,
91,
139,
67,
70,
92,
163,
209,
54,
183,
35,
107,
57,
135,
163,
56,
136,
29,
43,
250,
94,
1 ],
[ 2,
90,
69,
199,
67,
52,
235,
170,
129,
118,
73,
41,
145,
107,
158,
119,
32,
170,
223,
204,
17,
2,
184,
11,
188,
30,
156,
33,
197,
11,
189,
23,
134 ] ],
seq: 4294967295 },
{ size: 149,
out:
{ hash:
[ 192,
40,
157,
113,
178,
135,
215,
67,
186,
90,
234,
118,
108,
66,
232,
214,
225,
157,
40,
131,
78,
15,
152,
1,
63,
19,
126,
91,
181,
79,
118,
72 ],
index: 0 },
script:
[ [ 48,
70,
2,
33,
0,
164,
130,
215,
71,
174,
161,
138,
22,
146,
150,
131,
128,
21,
217,
152,
164,
156,
147,
141,
128,
66,
91,
121,
19,
19,
62,
206,
154,
239,
159,
73,
110,
2,
33,
0,
191,
131,
58,
128,
243,
128,
200,
107,
245,
121,
184,
66,
39,
54,
158,
7,
112,
98,
89,
154,
36,
144,
29,
6,
234,
120,
188,
124,
172,
63,
228,
95,
1 ],
[ 2,
90,
69,
199,
67,
52,
235,
170,
129,
118,
73,
41,
145,
107,
158,
119,
32,
170,
223,
204,
17,
2,
184,
11,
188,
30,
156,
33,
197,
11,
189,
23,
134 ] ],
seq: 4294967295 } ],
outputs:
[ { size: 34,
value: <BN: 895440>,
script:
[ 'dup',
'hash160',
[ 88,
160,
127,
93,
24,
227,
18,
223,
47,
110,
237,
249,
41,
251,
136,
47,
173,
14,
40,
68 ],
'eqverify',
'checksig' ] },
{ size: 34,
value: <BN: 17ebba>,
script:
[ 'dup',
'hash160',
[ 219,
80,
8,
122,
56,
94,
134,
123,
84,
115,
69,
225,
80,
246,
117,
3,
196,
160,
182,
166 ],
'eqverify',
'checksig' ] } ],
lock: 0,
_off: 820 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment