Skip to content

Commit

Permalink
fix: remove NewBlockHeaders
Browse files Browse the repository at this point in the history
  • Loading branch information
aoudiamoncef committed Aug 23, 2023
1 parent 6936a41 commit 56cebb4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 173 deletions.
98 changes: 0 additions & 98 deletions doc/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -557,22 +557,10 @@ <h2>Table of Contents</h2>
<a href="#massa.api.v1.GetTransactionsThroughputResponse"><span class="badge">M</span>GetTransactionsThroughputResponse</a>
</li>

<li>
<a href="#massa.api.v1.NewBlockHeadersBlocksFilter"><span class="badge">M</span>NewBlockHeadersBlocksFilter</a>
</li>

<li>
<a href="#massa.api.v1.NewBlocksFilter"><span class="badge">M</span>NewBlocksFilter</a>
</li>

<li>
<a href="#massa.api.v1.NewBlocksHeadersRequest"><span class="badge">M</span>NewBlocksHeadersRequest</a>
</li>

<li>
<a href="#massa.api.v1.NewBlocksHeadersResponse"><span class="badge">M</span>NewBlocksHeadersResponse</a>
</li>

<li>
<a href="#massa.api.v1.NewBlocksRequest"><span class="badge">M</span>NewBlocksRequest</a>
</li>
Expand Down Expand Up @@ -3199,44 +3187,6 @@ <h3 id="massa.api.v1.GetTransactionsThroughputResponse">GetTransactionsThroughpu



<h3 id="massa.api.v1.NewBlockHeadersBlocksFilter">NewBlockHeadersBlocksFilter</h3>
<p>NewBlockHeadersBlocks Filter</p>


<table class="field-table">
<thead>
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
</thead>
<tbody>

<tr>
<td>block_ids</td>
<td><a href="#massa.model.v1.BlockIds">massa.model.v1.BlockIds</a></td>
<td></td>
<td><p>One of these block ids </p></td>
</tr>

<tr>
<td>addresses</td>
<td><a href="#massa.model.v1.Addresses">massa.model.v1.Addresses</a></td>
<td></td>
<td><p>One of these creator addresses </p></td>
</tr>

<tr>
<td>slot_range</td>
<td><a href="#massa.model.v1.SlotRange">massa.model.v1.SlotRange</a></td>
<td></td>
<td><p>One of these slot ranges (inclusive) </p></td>
</tr>

</tbody>
</table>





<h3 id="massa.api.v1.NewBlocksFilter">NewBlocksFilter</h3>
<p>NewBlocks Filter</p>

Expand Down Expand Up @@ -3275,54 +3225,6 @@ <h3 id="massa.api.v1.NewBlocksFilter">NewBlocksFilter</h3>



<h3 id="massa.api.v1.NewBlocksHeadersRequest">NewBlocksHeadersRequest</h3>
<p>NewBlocksHeadersRequest holds request for NewBlocksHeaders</p>


<table class="field-table">
<thead>
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
</thead>
<tbody>

<tr>
<td>filters</td>
<td><a href="#massa.api.v1.NewBlockHeadersBlocksFilter">NewBlockHeadersBlocksFilter</a></td>
<td>repeated</td>
<td><p>Returns all the block headers that verify all the filters </p></td>
</tr>

</tbody>
</table>





<h3 id="massa.api.v1.NewBlocksHeadersResponse">NewBlocksHeadersResponse</h3>
<p>NewBlocksHeadersResponse holds response from NewBlocksHeaders</p>


<table class="field-table">
<thead>
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
</thead>
<tbody>

<tr>
<td>signed_block_header</td>
<td><a href="#massa.model.v1.SignedBlockHeader">massa.model.v1.SignedBlockHeader</a></td>
<td></td>
<td><p>Signed block header </p></td>
</tr>

</tbody>
</table>





<h3 id="massa.api.v1.NewBlocksRequest">NewBlocksRequest</h3>
<p>NewBlocksRequest holds request for NewBlocks</p>

Expand Down
50 changes: 0 additions & 50 deletions doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,7 @@
- [GetStatusResponse](#massa-api-v1-GetStatusResponse)
- [GetTransactionsThroughputRequest](#massa-api-v1-GetTransactionsThroughputRequest)
- [GetTransactionsThroughputResponse](#massa-api-v1-GetTransactionsThroughputResponse)
- [NewBlockHeadersBlocksFilter](#massa-api-v1-NewBlockHeadersBlocksFilter)
- [NewBlocksFilter](#massa-api-v1-NewBlocksFilter)
- [NewBlocksHeadersRequest](#massa-api-v1-NewBlocksHeadersRequest)
- [NewBlocksHeadersResponse](#massa-api-v1-NewBlocksHeadersResponse)
- [NewBlocksRequest](#massa-api-v1-NewBlocksRequest)
- [NewBlocksResponse](#massa-api-v1-NewBlocksResponse)
- [NewEndorsementsFilter](#massa-api-v1-NewEndorsementsFilter)
Expand Down Expand Up @@ -1488,23 +1485,6 @@ GetTransactionsThroughputResponse holds response from GetTransactionsThroughput



<a name="massa-api-v1-NewBlockHeadersBlocksFilter"></a>

### NewBlockHeadersBlocksFilter
NewBlockHeadersBlocks Filter


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| block_ids | [massa.model.v1.BlockIds](#massa-model-v1-BlockIds) | | One of these block ids |
| addresses | [massa.model.v1.Addresses](#massa-model-v1-Addresses) | | One of these creator addresses |
| slot_range | [massa.model.v1.SlotRange](#massa-model-v1-SlotRange) | | One of these slot ranges (inclusive) |






<a name="massa-api-v1-NewBlocksFilter"></a>

### NewBlocksFilter
Expand All @@ -1522,36 +1502,6 @@ NewBlocks Filter



<a name="massa-api-v1-NewBlocksHeadersRequest"></a>

### NewBlocksHeadersRequest
NewBlocksHeadersRequest holds request for NewBlocksHeaders


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| filters | [NewBlockHeadersBlocksFilter](#massa-api-v1-NewBlockHeadersBlocksFilter) | repeated | Returns all the block headers that verify all the filters |






<a name="massa-api-v1-NewBlocksHeadersResponse"></a>

### NewBlocksHeadersResponse
NewBlocksHeadersResponse holds response from NewBlocksHeaders


| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| signed_block_header | [massa.model.v1.SignedBlockHeader](#massa-model-v1-SignedBlockHeader) | | Signed block header |






<a name="massa-api-v1-NewBlocksRequest"></a>

### NewBlocksRequest
Expand Down
25 changes: 0 additions & 25 deletions proto/apis/massa/api/v1/public.proto
Original file line number Diff line number Diff line change
Expand Up @@ -684,31 +684,6 @@ message NewBlocksResponse {
massa.model.v1.SignedBlock signed_block = 1;
}

// NewBlocksHeadersRequest holds request for NewBlocksHeaders
message NewBlocksHeadersRequest {
// Returns all the block headers that verify all the filters
repeated NewBlockHeadersBlocksFilter filters = 1;
}

// NewBlockHeadersBlocks Filter
message NewBlockHeadersBlocksFilter {
// Filter
oneof filter {
// One of these block ids
massa.model.v1.BlockIds block_ids = 1;
// One of these creator addresses
massa.model.v1.Addresses addresses = 2;
// One of these slot ranges (inclusive)
massa.model.v1.SlotRange slot_range = 3;
}
}

// NewBlocksHeadersResponse holds response from NewBlocksHeaders
message NewBlocksHeadersResponse {
// Signed block header
massa.model.v1.SignedBlockHeader signed_block_header = 1;
}

// NewEndorsementsRequest holds request for NewEndorsements
message NewEndorsementsRequest {
// Returns all the endorsements that verify all the filters
Expand Down

0 comments on commit 56cebb4

Please sign in to comment.