aboutsummaryrefslogtreecommitdiff
path: root/src/pubkey.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2018-06-27 16:53:48 -0700
committerAndrew Chow <achow101-github@achow101.com>2018-07-13 14:27:31 -0700
commit41c607f09badb2c3ed58ff6fb17a8ebbef2cdabd (patch)
tree5d64256ce892a04405c5f60962015643135e1bfa /src/pubkey.h
parent287e4edc2fd2514a0095273f01fe66b85ce10856 (diff)
Implement PSBT Structures and un/serialization methods per BIP 174
Diffstat (limited to 'src/pubkey.h')
-rw-r--r--src/pubkey.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pubkey.h b/src/pubkey.h
index bb254547c8..0985273f34 100644
--- a/src/pubkey.h
+++ b/src/pubkey.h
@@ -107,6 +107,7 @@ public:
//! Simple read-only vector-like interface to the pubkey data.
unsigned int size() const { return GetLen(vch[0]); }
+ const unsigned char* data() const { return vch; }
const unsigned char* begin() const { return vch; }
const unsigned char* end() const { return vch + size(); }
const unsigned char& operator[](unsigned int pos) const { return vch[pos]; }