Pieter Wuille
69fc8047a9
Compact serialization for scripts
...
Special serializers for script which detect common cases and encode
them much more efficiently. 3 special cases are defined:
* Pay to pubkey hash (encoded as 21 bytes)
* Pay to script hash (encoded as 21 bytes)
* Pay to pubkey starting with 0x02, 0x03 or 0x04 (encoded as 33 bytes)
Other scripts up to 121 bytes require 1 byte + script length. Above
that, scripts up to 16505 bytes require 2 bytes + script length.
2012-10-20 23:08:56 +02:00
..
2012-10-20 23:08:56 +02:00
2012-10-20 01:54:10 +02:00
2012-10-20 23:08:56 +02:00
2012-09-18 15:07:58 -04:00
2012-09-18 15:07:58 -04:00
2012-08-28 17:13:11 -04:00
2012-08-28 17:04:54 -04:00
2012-08-23 06:55:35 +02:00
2012-09-18 15:07:58 -04:00
2012-09-10 04:24:57 +02:00
2012-10-05 23:31:58 +02:00
2012-10-04 15:49:15 +02:00
2012-08-21 22:50:00 -04:00
2012-10-09 12:37:35 -04:00
2012-08-23 06:55:35 +02:00
2012-08-23 06:55:35 +02:00
2012-10-08 17:46:45 -04:00
2012-10-08 17:46:45 -04:00
2012-10-20 01:54:10 +02:00
2012-10-07 14:38:37 +02:00
2012-10-20 23:08:56 +02:00
2012-10-20 23:08:56 +02:00
2012-10-20 23:08:56 +02:00
2012-10-20 23:08:56 +02:00
2012-10-20 13:36:36 -07:00
2012-10-20 23:08:56 +02:00
2012-10-20 23:08:56 +02:00
2012-10-20 23:08:56 +02:00
2012-10-20 23:08:56 +02:00
2012-10-20 23:08:56 +02:00
2012-10-11 00:39:51 -07:00
2012-10-20 01:54:10 +02:00
2012-10-11 00:41:33 -07:00
2012-10-11 00:41:33 -07:00
2012-07-04 16:40:16 +02:00
2012-10-04 15:49:15 +02:00
2012-10-04 15:49:15 +02:00
2012-10-04 15:49:15 +02:00
2012-09-18 15:07:58 -04:00
2012-10-20 10:56:04 -07:00
2012-10-07 07:03:06 -07:00
2012-10-20 23:08:56 +02:00
2012-10-20 23:08:56 +02:00
2012-10-20 23:08:56 +02:00
2012-09-18 15:07:58 -04:00
2012-09-25 12:16:37 +02:00
2012-06-25 12:28:29 +08:00
2012-09-10 04:24:57 +02:00
2012-10-11 00:42:47 -07:00
2012-10-01 19:45:41 +02:00
2012-09-07 16:08:18 +02:00
2012-09-07 16:08:18 +02:00
2012-10-08 17:46:45 -04:00
2012-10-08 17:46:45 -04:00
2012-10-08 17:46:45 -04:00
2012-10-08 17:46:45 -04:00