[#CCoinsViewCursor]
= CCoinsViewCursor
:mrdocs:

Cursor for iterating over CoinsView state

== Synopsis

Declared in `&lt;coins&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class CCoinsViewCursor;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:CCoinsViewCursor/2constructor.adoc[`CCoinsViewCursor`]         [.small]#[constructor]#
| Construct a cursor recording the best block it iterates over&period;
| xref:CCoinsViewCursor/2destructor.adoc[`&#126;CCoinsViewCursor`] [.small]#[destructor]# [.small]#[virtual]#
| Destroy the cursor&period;
| xref:CCoinsViewCursor/GetBestBlock.adoc[`GetBestBlock`] 
| Get best block at the time this cursor was created
| xref:CCoinsViewCursor/GetKey.adoc[`GetKey`]  [.small]#[virtual]#
| Retrieve the outpoint the cursor currently points at&period;
| xref:CCoinsViewCursor/GetValue.adoc[`GetValue`]  [.small]#[virtual]#
| Retrieve the coin the cursor currently points at&period;
| xref:CCoinsViewCursor/Next.adoc[`Next`]  [.small]#[virtual]#
| Advance the cursor to the next entry&period;
| xref:CCoinsViewCursor/Valid.adoc[`Valid`]  [.small]#[virtual]#
| Report whether the cursor currently points at a valid entry&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
